Completed
Pull Request — master (#1)
by Randy
06:23
created
src/Weew/ErrorHandler/Exceptions/RecoverableException.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
     }
79 79
 
80 80
     /**
81
-     * @return int
81
+     * @return string
82 82
      */
83 83
     public function getErrorLine() {
84 84
         return $this->errorLine;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 use Weew\ErrorHandler\ErrorType;
7 7
 
8 8
 abstract class RecoverableException extends Exception
9
-    implements IErrorException{
9
+    implements IErrorException {
10 10
     /**
11 11
      * @var int
12 12
      */
Please login to merge, or discard this patch.
src/Weew/ErrorHandler/ErrorHandler.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             return;
103 103
         }
104 104
 
105
-        set_error_handler(function ($number, $string, $file, $line) {
105
+        set_error_handler(function($number, $string, $file, $line) {
106 106
             // remove error from error_get_last()
107 107
             @trigger_error(null);
108 108
 
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             return;
122 122
         }
123 123
 
124
-        register_shutdown_function(function () {
124
+        register_shutdown_function(function() {
125 125
             return $this->errorConverter
126 126
                 ->extractFatalErrorAndCallHandler($this);
127 127
         });
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
     }
245 245
 
246 246
     /**
247
-     * @param Throwable $ex
247
+     * @param Exception $ex
248 248
      *
249 249
      * @throws Throwable
250 250
      */
Please login to merge, or discard this patch.