Completed
Pull Request — master (#185)
by Marco
03:15
created
lib/Doctrine/Common/Cache/PhpFileCache.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     {
44 44
         parent::__construct($directory, $extension, $umask);
45 45
 
46
-        self::$emptyErrorHandler = function () {
46
+        self::$emptyErrorHandler = function() {
47 47
         };
48 48
     }
49 49
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     {
55 55
         $value = $this->includeFileForId($id);
56 56
 
57
-        if (! $value) {
57
+        if ( ! $value) {
58 58
             return false;
59 59
         }
60 60
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         $value = $this->includeFileForId($id);
74 74
 
75
-        if (! $value) {
75
+        if ( ! $value) {
76 76
             return false;
77 77
         }
78 78
 
@@ -90,13 +90,13 @@  discard block
 block discarded – undo
90 90
 
91 91
         if (is_object($data) && ! method_exists($data, '__set_state')) {
92 92
             throw new \InvalidArgumentException(
93
-                "Invalid argument given, PhpFileCache only allows objects that implement __set_state() " .
94
-                "and fully support var_export(). You can use the FilesystemCache to save arbitrary object " .
93
+                "Invalid argument given, PhpFileCache only allows objects that implement __set_state() ".
94
+                "and fully support var_export(). You can use the FilesystemCache to save arbitrary object ".
95 95
                 "graphs using serialize()/deserialize()."
96 96
             );
97 97
         }
98 98
 
99
-        $filename  = $this->getFilename($id);
99
+        $filename = $this->getFilename($id);
100 100
 
101 101
         $value = [
102 102
             'lifetime'  => $lifeTime,
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
         restore_error_handler();
126 126
 
127
-        if (! isset($value['lifetime'])) {
127
+        if ( ! isset($value['lifetime'])) {
128 128
             return false;
129 129
         }
130 130
 
Please login to merge, or discard this patch.