fix php 7.4 invalid syntax

pull/548/head
fadrian06 3 weeks ago
parent 72ac51e141
commit 5425955dd7

@ -442,7 +442,7 @@ class Dispatcher
if (is_a($this->containerHandler, '\Psr\Container\ContainerInterface')) { if (is_a($this->containerHandler, '\Psr\Container\ContainerInterface')) {
try { try {
return $this->containerHandler->get($class); return $this->containerHandler->get($class);
} catch (Throwable) { } catch (Throwable $exception) {
return null; return null;
} }
} }

Loading…
Cancel
Save