Merge pull request #613 from stephweb/stephweb-6.0

Laravel 6.0 - Refacto compatibility with >=7.2 for tests
This commit is contained in:
Matt Lantz authored and GitHub committed 2019-09-23 02:16:50 -04:00
commit 2f181aba73
1 file changed
+1 -1
+1 -1
View File
@@ -1298,7 +1298,7 @@ class FormBuilder
&& is_null($old)
&& is_null($value)
&& !is_null($this->view->shared('errors'))
&& count(php_sapi_name() === 'cli' ? [] : $this->view->shared('errors')) > 0
&& count(is_countable($this->view->shared('errors')) ? $this->view->shared('errors') : []) > 0
) {
return null;
}