Completed
Pull Request — master (#676)
by
unknown
45:17 queued 44:07
created
src/Whoops/Run.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * Register your handler as the last of all currently registered handlers.
100 100
      * Prefer using appendHandler and prependHandler for clarity.
101 101
      *
102
-     * @param Callable|HandlerInterface $handler
102
+     * @param HandlerInterface $handler
103 103
      *
104 104
      * @return Run
105 105
      *
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     /**
147 147
      * Returns an array with all handlers, in the order they were added to the stack.
148 148
      *
149
-     * @return array
149
+     * @return HandlerInterface[]
150 150
      */
151 151
     public function getHandlers()
152 152
     {
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
      *
266 266
      * @param bool|int $code
267 267
      *
268
-     * @return int|false
268
+     * @return integer
269 269
      *
270 270
      * @throws InvalidArgumentException
271 271
      */
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
     /**
313 313
      * Handles an exception, ultimately generating a Whoops error page.
314 314
      *
315
-     * @param Throwable $exception
315
+     * @param ErrorException $exception
316 316
      *
317 317
      * @return string Output generated by handlers.
318 318
      */
Please login to merge, or discard this patch.