File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5050 }
5151
5252 // If there were any errors/warnings, fail with diagnostic info
53- if (count ( $ errors) > 0 ) {
53+ if ($ errors !== [] ) {
5454 throw new \RuntimeException (sprintf (
5555 "Errors/warnings during LoggingManager resolution: \n%s " ,
5656 json_encode ($ errors , JSON_PRETTY_PRINT )
9393 ));
9494 }
9595
96- if (count ( $ errors) > 0 ) {
96+ if ($ errors !== [] ) {
9797 throw new \RuntimeException (sprintf (
9898 "Errors/warnings during SessionStoreManager resolution: \n%s " ,
9999 json_encode ($ errors , JSON_PRETTY_PRINT )
135135 ));
136136 }
137137
138- if (count ( $ errors) > 0 ) {
138+ if ($ errors !== [] ) {
139139 throw new \RuntimeException (sprintf (
140140 "Errors/warnings during Cache resolution: \n%s " ,
141141 json_encode ($ errors , JSON_PRETTY_PRINT )
You can’t perform that action at this time.
0 commit comments