Completed
Push — final ( 1d04ee...9629f9 )
by Georges
15s
created
src/phpFastCache/Core/Item/ItemExtendedTrait.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
             if($keyHashFunction){
60 60
                 $this->encodedKey =  $keyHashFunction($this->getKey());
61
-            }else{
61
+            } else{
62 62
                 $this->encodedKey =  md5($this->getKey());
63 63
             }
64 64
         }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     {
108 108
         if($this->driver->getConfig()['itemDetailedDate']){
109 109
             return $this->creationDate;
110
-        }else{
110
+        } else{
111 111
             throw new phpFastCacheLogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
112 112
         }
113 113
     }
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         if($this->driver->getConfig()['itemDetailedDate']){
123 123
             $this->creationDate = $date;
124 124
             return $this;
125
-        }else{
125
+        } else{
126 126
             throw new phpFastCacheLogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
127 127
         }
128 128
     }
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     {
136 136
         if($this->driver->getConfig()['itemDetailedDate']){
137 137
             return $this->modificationDate;
138
-        }else{
138
+        } else{
139 139
             throw new phpFastCacheLogicException('Cannot access to the modification date when the "itemDetailedDate" configuration is disabled.');
140 140
         }
141 141
     }
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
         if($this->driver->getConfig()['itemDetailedDate']){
151 151
             $this->modificationDate = $date;
152 152
             return $this;
153
-        }else{
153
+        } else{
154 154
             throw new phpFastCacheLogicException('Cannot access to the modification date when the "itemDetailedDate" configuration is disabled.');
155 155
         }
156 156
     }
Please login to merge, or discard this patch.