Merge pull request #609 from stephweb/stephweb-5.8
Laravel 5.8 - Add compatibility with >=7.2 for tests
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -1299,7 +1299,7 @@ class FormBuilder
|
||||
&& is_null($old)
|
||||
&& is_null($value)
|
||||
&& !is_null($this->view->shared('errors'))
|
||||
&& count($this->view->shared('errors')) > 0
|
||||
&& count(php_sapi_name() === 'cli' ? [] : $this->view->shared('errors')) > 0
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user