package and depencies

This commit is contained in:
RafficMohammed
2023-01-08 02:57:24 +05:30
parent d5332eb421
commit 1d54b8bc7f
4309 changed files with 193331 additions and 172289 deletions

View File

@@ -23,9 +23,6 @@ use Symfony\Component\HttpKernel\KernelEvents;
*/
class TraceableEventDispatcher extends BaseTraceableEventDispatcher
{
/**
* {@inheritdoc}
*/
protected function beforeDispatch(string $eventName, object $event)
{
switch ($eventName) {
@@ -52,15 +49,12 @@ class TraceableEventDispatcher extends BaseTraceableEventDispatcher
// which must be caught.
try {
$this->stopwatch->openSection($sectionId);
} catch (\LogicException $e) {
} catch (\LogicException) {
}
break;
}
}
/**
* {@inheritdoc}
*/
protected function afterDispatch(string $eventName, object $event)
{
switch ($eventName) {
@@ -83,7 +77,7 @@ class TraceableEventDispatcher extends BaseTraceableEventDispatcher
}
try {
$this->stopwatch->stopSection($sectionId);
} catch (\LogicException $e) {
} catch (\LogicException) {
}
break;
}