Compare commits

...
2 Commits
Author SHA1 Message Date
Matt Lantz 3a1c9974ea Merge pull request #609 from stephweb/stephweb-5.8
Laravel 5.8 - Add compatibility with >=7.2 for tests
2019-09-05 08:32:25 -04:00
stephweb b2ae0145b7 Add compatibility with >=7.2 for tests 2019-09-03 18:06:02 +02:00
+1 -1
View File
@@ -1299,7 +1299,7 @@ class FormBuilder
&& is_null($old) && is_null($old)
&& is_null($value) && is_null($value)
&& !is_null($this->view->shared('errors')) && !is_null($this->view->shared('errors'))
&& count($this->view->shared('errors')) > 0 && count(php_sapi_name() === 'cli' ? [] : $this->view->shared('errors')) > 0
) { ) {
return null; return null;
} }