Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 05ade4d

Browse files
committed
Fix fabbot
1 parent d4ede9a commit 05ade4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Routing/Requirement/EnumRequirement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ public function __construct(string $enum, array $cases = [])
3434

3535
foreach ($cases as $case) {
3636
if (!$case instanceof \BackedEnum) {
37-
throw new InvalidArgumentException(sprintf('Case must be a \BackedEnum instance, "%s" given.', \get_debug_type($case)));
37+
throw new InvalidArgumentException(sprintf('Case must be a \BackedEnum instance, "%s" given.', get_debug_type($case)));
3838
}
3939
if (!$case instanceof $enum) {
40-
throw new InvalidArgumentException(sprintf('"%s::%s" is not a case of "%s".', \get_debug_type($case), $case->name, $enum));
40+
throw new InvalidArgumentException(sprintf('"%s::%s" is not a case of "%s".', get_debug_type($case), $case->name, $enum));
4141
}
4242
}
4343

0 commit comments

Comments
 (0)