Skip to content

Commit 69ae05e

Browse files
committed
Fix PHPCS warningwq
1 parent 12b8abb commit 69ae05e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Slim/CallableResolver.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,12 @@ public function resolve($toResolve)
7979
}
8080

8181
if (!is_callable($resolved)) {
82-
throw new RuntimeException(sprintf('%s is not resolvable', is_array($toResolve) || is_object($toResolve) ? json_encode($toResolve) : $toResolve));
82+
throw new RuntimeException(sprintf(
83+
'%s is not resolvable',
84+
is_array($toResolve) || is_object($toResolve) ? json_encode($toResolve) : $toResolve
85+
));
8386
}
84-
87+
8588
return $resolved;
8689
}
8790
}

0 commit comments

Comments
 (0)