Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 87f5d4a

Browse files
committed
Fix quotes in exception messages
1 parent cdc4c76 commit 87f5d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Authorization/Voter/ExpressionVoter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(ExpressionLanguage $expressionLanguage, Authenticati
4949
} elseif (null === $authChecker) {
5050
@trigger_error(sprintf('Argument 3 passed to "%s()" should be an instance of AuthorizationCheckerInterface, not passing it is deprecated since Symfony 4.2.', __METHOD__), E_USER_DEPRECATED);
5151
} elseif (!$authChecker instanceof AuthorizationCheckerInterface) {
52-
throw new \TypeError(sprintf('Argument 3 passed to %s() must be an instance of %s or null, %s given.', __METHOD__, AuthorizationCheckerInterface::class, \is_object($authChecker) ? \get_class($authChecker) : \gettype($authChecker)));
52+
throw new \TypeError(sprintf('Argument 3 passed to "%s()" must be an instance of "%s" or null, "%s" given.', __METHOD__, AuthorizationCheckerInterface::class, \is_object($authChecker) ? \get_class($authChecker) : \gettype($authChecker)));
5353
}
5454

5555
$this->expressionLanguage = $expressionLanguage;

0 commit comments

Comments
 (0)