@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | * @access public |
| 187 | 187 | * |
| 188 | 188 | * @param string $listener listener name |
| 189 | - * @param mixed $event ['Object', 'method'] or callable |
|
| 189 | + * @param \Closure $event ['Object', 'method'] or callable |
|
| 190 | 190 | * @param int|null $prior priority |
| 191 | 191 | * |
| 192 | 192 | * @return bool |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | /** |
| 206 | 206 | * Send signal to dispatcher |
| 207 | 207 | * |
| 208 | - * @param $signal |
|
| 208 | + * @param string $signal |
|
| 209 | 209 | * @param $params |
| 210 | 210 | * @return mixed |
| 211 | 211 | */ |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | * |
| 220 | 220 | * @access public |
| 221 | 221 | * |
| 222 | - * @return float|null |
|
| 222 | + * @return double |
|
| 223 | 223 | */ |
| 224 | 224 | public function getStartTime() |
| 225 | 225 | { |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | $this->container->dispatcher = new Dispatcher; |
| 136 | 136 | } |
| 137 | 137 | |
| 138 | - $this->addListener('kernel.kill', function (array $params) { |
|
| 138 | + $this->addListener('kernel.kill', function(array $params) { |
|
| 139 | 139 | if ($params['container']->kernel->isDebug() && !$params['container']->request->isCli()) { |
| 140 | 140 | // Add timer into page |
| 141 | 141 | echo '<div class=debug_timer>', (microtime(true) - $params['container']->kernel->getStartTime()), '</div>'; |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | */ |
| 56 | 56 | protected static function doRun() |
| 57 | 57 | { |
| 58 | - $str = '<div class="error" style="width: 100%;">'; |
|
| 58 | + $str = '<div class="error" style="width: 100%;">'; |
|
| 59 | 59 | $str .= '<h2>FatalError ' . static::$number . ' - ' . static::$message . ' on ' . static::$file . ':' . static::$line . '</h2>'; |
| 60 | 60 | |
| 61 | 61 | $str .= '<table width="100%" style="width: 100%">'; |