Skip to content

Commit e2b375c

Browse files
committed
ci: trigger
1 parent 7b7bcb6 commit e2b375c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Feature/Logging/ContainerResolutionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
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)
@@ -93,7 +93,7 @@
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)
@@ -135,7 +135,7 @@
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)

0 commit comments

Comments
 (0)