We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b8abb commit 69ae05eCopy full SHA for 69ae05e
Slim/CallableResolver.php
@@ -79,9 +79,12 @@ public function resolve($toResolve)
79
}
80
81
if (!is_callable($resolved)) {
82
- throw new RuntimeException(sprintf('%s is not resolvable', is_array($toResolve) || is_object($toResolve) ? json_encode($toResolve) : $toResolve));
+ throw new RuntimeException(sprintf(
83
+ '%s is not resolvable',
84
+ is_array($toResolve) || is_object($toResolve) ? json_encode($toResolve) : $toResolve
85
+ ));
86
-
87
+
88
return $resolved;
89
90
0 commit comments