Completed
Pull Request — final (#444)
by
unknown
02:13
created
src/phpFastCache/Cache/ItemBaseTrait.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -129,21 +129,21 @@
 block discarded – undo
129 129
     public function expiresAt($expiration)
130 130
     {
131 131
         $_php_ver = (float) PHP_VERSION;
132
-		if ($_php_ver >= 5.5) {
132
+        if ($_php_ver >= 5.5) {
133 133
 		    
134 134
             if ($expiration instanceof \DateTimeInterface) {
135
-                     $this->expirationDate = $expiration;
136
-             } else {
135
+                        $this->expirationDate = $expiration;
136
+                } else {
137 137
             throw new \InvalidArgumentException('$expiration must be an object implementing the DateTimeInterface');
138
-             }
138
+                }
139 139
             
140
-		} else if ($_php_ver <= 5.4) {
141
-			if ($expiration instanceof \DateTime) {
142
-                     $this->expirationDate = $expiration;
143
-             } else {
140
+        } else if ($_php_ver <= 5.4) {
141
+            if ($expiration instanceof \DateTime) {
142
+                        $this->expirationDate = $expiration;
143
+                } else {
144 144
             throw new \InvalidArgumentException('$expiration must be an object implementing the DateTime');
145
-             }
146
-		} 
145
+                }
146
+        } 
147 147
         
148 148
         
149 149
 
Please login to merge, or discard this patch.