Skip to content

Commit b104e9d

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Add missing dots at the end of exception messages [DI][Form] Fixed test suite (TimeType changes & unresolved merge conflict) Fix bad merge Add missing dots at the end of exception messages
2 parents 203c8a5 + 25982a5 commit b104e9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ErrorHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,14 +246,14 @@ public function setLoggers(array $loggers): array
246246
if (!\is_array($log)) {
247247
$log = [$log];
248248
} elseif (!\array_key_exists(0, $log)) {
249-
throw new \InvalidArgumentException('No logger provided');
249+
throw new \InvalidArgumentException('No logger provided.');
250250
}
251251
if (null === $log[0]) {
252252
$this->loggedErrors &= ~$type;
253253
} elseif ($log[0] instanceof LoggerInterface) {
254254
$this->loggedErrors |= $type;
255255
} else {
256-
throw new \InvalidArgumentException('Invalid logger provided');
256+
throw new \InvalidArgumentException('Invalid logger provided.');
257257
}
258258
$this->loggers[$type] = $log + $prev[$type];
259259

0 commit comments

Comments
 (0)