Skip to content

Commit 5425955

Browse files
committed
fix php 7.4 invalid syntax
1 parent 72ac51e commit 5425955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flight/core/Dispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ public function resolveContainerClass(string $class, array &$params)
442442
if (is_a($this->containerHandler, '\Psr\Container\ContainerInterface')) {
443443
try {
444444
return $this->containerHandler->get($class);
445-
} catch (Throwable) {
445+
} catch (Throwable $exception) {
446446
return null;
447447
}
448448
}

0 commit comments

Comments
 (0)