Passed
Pull Request — final (#555)
by Georges
02:24
created
src/phpFastCache/Exceptions/phpFastCacheIOException.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * @inheritdoc
26
+     * @param phpFastCacheIOException $previous
26 27
      */
27 28
     public function __construct($message = "", $code = 0, $previous = null)
28 29
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function __construct($message = "", $code = 0, $previous = null)
28 28
     {
29 29
         $lastError = error_get_last();
30
-        if($lastError){
30
+        if ($lastError) {
31 31
             $message .= "\n";
32 32
             $message .= "Additional information provided by error_get_last():\n";
33 33
             $message .= "{$lastError['message']} in {$lastError['file']} line {$lastError['line']}";
Please login to merge, or discard this patch.