Skip to content

Commit 25982a5

Browse files
committed
Add missing dots at the end of exception messages
1 parent 3c76461 commit 25982a5

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)