Code Duplication    Length = 3-7 lines in 2 locations

Micro.php 2 locations

@@ 116-122 (lines=7) @@
113
        try {
114
            return $this->doRun($request);
115
        } catch (\Exception $e) {
116
            if ($this->debug) {
117
                if (($dispatcher = $this->container->dispatcher) && $dispatcher instanceof IDispatcher) {
118
                    $dispatcher->signal('kernel.exception', ['exception' => $e]);
119
                }
120
121
                throw $e;
122
            }
123
124
            return $this->doException($e);
125
        }
@@ 392-394 (lines=3) @@
389
     */
390
    public function terminate()
391
    {
392
        if (($dispatcher = $this->container->dispatcher) && $dispatcher instanceof IDispatcher) {
393
            $dispatcher->signal('kernel.kill', ['container' => $this->container]);
394
        }
395
    }
396
397
    /**