Passed
Push — master ( 19a8ce...41e71a )
by Dmitry
10:01
created
src/CheckException.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -32,17 +32,17 @@
 block discarded – undo
32 32
      */
33 33
     protected static function getDebug(Exception $e, $depth = -1)
34 34
     {
35
-        $errorDebugMsg = sprintf (
35
+        $errorDebugMsg = sprintf(
36 36
             "ERROR CODE:%d\nERROR FILE:%s\nERROR MESSAGE:%sERROR TRACE:%s",
37
-            $e->getCode (),
38
-            $e->getFile (),
39
-            $e->getMessage (),
40
-            $e->getTraceAsString ()
37
+            $e->getCode(),
38
+            $e->getFile(),
39
+            $e->getMessage(),
40
+            $e->getTraceAsString()
41 41
         );
42 42
 
43
-        if( ($depth ==-1 || $depth >0 ) && $e->getPrevious() instanceof Exception){
44
-            $depth -= $depth>0?1:0;
45
-            $errorDebugMsg = sprintf ('%s\n\nPRIVIOUS ERROR:\n', static::getDebug ($e->getPrevious()));
43
+        if (($depth == -1 || $depth > 0) && $e->getPrevious() instanceof Exception) {
44
+            $depth -= $depth > 0 ? 1 : 0;
45
+            $errorDebugMsg = sprintf('%s\n\nPRIVIOUS ERROR:\n', static::getDebug($e->getPrevious()));
46 46
         }
47 47
 
48 48
         return $errorDebugMsg;
Please login to merge, or discard this patch.