Completed
Push — V6 ( 143ccf...e26840 )
by Georges
02:18
created
src/phpFastCache/Core/Pool/DriverBaseTrait.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         if(isset($this->config[$optionName])){
74 74
             return $this->config[$optionName];
75
-        }else{
75
+        } else{
76 76
             return null;
77 77
         }
78 78
     }
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
              * reuse it else set a new Date
150 150
              */
151 151
             $wrap[ self::DRIVER_CDATE_WRAPPER_INDEX ] = $item->getCreationDate() ?: new \DateTime();
152
-        }else{
152
+        } else{
153 153
             $wrap[ self::DRIVER_MDATE_WRAPPER_INDEX ] = null;
154 154
             $wrap[ self::DRIVER_CDATE_WRAPPER_INDEX ] = null;
155 155
         }
Please login to merge, or discard this patch.
src/phpFastCache/Core/Item/ItemExtendedTrait.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
         if($keyHashFunction){
52 52
             return $keyHashFunction($this->getKey());
53
-        }else{
53
+        } else{
54 54
             return md5($this->getKey());
55 55
         }
56 56
     }
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     {
97 97
         if($this->driver->getConfig()['itemDetailedDate']){
98 98
             return $this->creationDate;
99
-        }else{
99
+        } else{
100 100
             throw new \LogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
101 101
         }
102 102
     }
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         if($this->driver->getConfig()['itemDetailedDate']){
112 112
             $this->creationDate = $date;
113 113
             return $this;
114
-        }else{
114
+        } else{
115 115
             throw new \LogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
116 116
         }
117 117
     }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     {
125 125
         if($this->driver->getConfig()['itemDetailedDate']){
126 126
             return $this->modificationDate;
127
-        }else{
127
+        } else{
128 128
             throw new \LogicException('Cannot access to the modification date when the "itemDetailedDate" configuration is disabled.');
129 129
         }
130 130
     }
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         if($this->driver->getConfig()['itemDetailedDate']){
140 140
             $this->modificationDate = $date;
141 141
             return $this;
142
-        }else{
142
+        } else{
143 143
             throw new \LogicException('Cannot access to the modification date when the "itemDetailedDate" configuration is disabled.');
144 144
         }
145 145
     }
Please login to merge, or discard this patch.