Browse Source

fix code/this->code

inoas 9 years ago
parent
commit
774b0884fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Error/PHP7ErrorException.php

+ 1 - 1
src/Error/PHP7ErrorException.php

@@ -47,7 +47,7 @@ class PHP7ErrorException extends Exception
             $this->file ?: "null",
             $this->line ?: "null"
         );
-        parent::__construct($msg, $code);
+        parent::__construct($msg, $this->code);
     }
 
     /**