8000 CS fixes · symfony/http-kernel@eed35d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit eed35d5

Browse files
CS fixes
1 parent 4f0521c commit eed35d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Controller/ControllerResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function getController(Request $request)
4747
if (isset($controller[0]) && \is_string($controller[0]) && isset($controller[1])) {
4848
try {
4949
$controller[0] = $this->instantiateController($controller[0]);
50-
} catch (\Error | \LogicException $e) {
50+
} catch (\Error|\LogicException $e) {
5151
try {
5252
// We cannot just check is_callable but have to use reflection because a non-static method
5353
// can still be called statically in PHP but we don't want that. This is deprecated in PHP 7, so we
@@ -120,7 +120,7 @@ protected function createController($controller)
120120

121121
try {
122122
$controller = [$this->instantiateController($class), $method];
123-
} catch (\Error | \LogicException $e) {
123+
} catch (\Error|\LogicException $e) {
124124
try {
125125
if ((new \ReflectionMethod($class, $method))->isStatic()) {
126126
return $class.'::'.$method;

0 commit comments

Comments
 (0)
0