Completed
Push — V6 ( ed370f...34d680 )
by Georges
02:11
created
src/phpFastCache/Core/Pool/CacheItemPoolTrait.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
     /**
159 159
      * @param \Psr\Cache\CacheItemInterface $item
160
-     * @return mixed
160
+     * @return boolean
161 161
      * @throws \InvalidArgumentException
162 162
      */
163 163
     public function save(CacheItemInterface $item)
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     }
176 176
 
177 177
     /**
178
-     * @return mixed|null
178
+     * @return boolean
179 179
      * @throws \InvalidArgumentException
180 180
      */
181 181
     public function commit()
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
                     } else {
86 86
                         $item->setHit(true);
87 87
                     }
88
-                }else{
88
+                } else{
89 89
                     $item->expiresAfter(abs((int) $this->getConfig()[ 'defaultTtl' ]));
90 90
                 }
91 91
 
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     {
230 230
         if (!array_key_exists($item->getKey(), $this->itemInstances)) {
231 231
             $this->itemInstances[ $item->getKey() ] = $item;
232
-        }else if(spl_object_hash($item) !== spl_object_hash($this->itemInstances[ $item->getKey() ])){
232
+        } else if(spl_object_hash($item) !== spl_object_hash($this->itemInstances[ $item->getKey() ])){
233 233
             throw new \RuntimeException('Spl object hash mismatches ! You probably tried to save a detached item which has been already retrieved from cache.');
234 234
         }
235 235
 
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -67,13 +67,13 @@  discard block
 block discarded – undo
67 67
                 $driverArray = $this->driverRead($item);
68 68
 
69 69
                 if ($driverArray) {
70
-                    if(!is_array($driverArray)){
70
+                    if (!is_array($driverArray)) {
71 71
                         throw new phpFastCacheCoreException(sprintf('The driverRead method returned an unexpected variable type: %s', gettype($driverArray)));
72 72
                     }
73 73
                     $item->set($this->driverUnwrapData($driverArray));
74 74
                     $item->expiresAt($this->driverUnwrapEdate($driverArray));
75 75
 
76
-                    if($this->config['itemDetailedDate']){
76
+                    if ($this->config['itemDetailedDate']) {
77 77
 
78 78
                         /**
79 79
                          * If the itemDetailedDate has been
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
97 97
                     } else {
98 98
                         $item->setHit(true);
99 99
                     }
100
-                }else{
101
-                    $item->expiresAfter(abs((int) $this->getConfig()[ 'defaultTtl' ]));
100
+                } else {
101
+                    $item->expiresAfter(abs((int) $this->getConfig()['defaultTtl']));
102 102
                 }
103 103
 
104 104
             }
@@ -111,9 +111,9 @@  discard block
 block discarded – undo
111 111
          * @param $this ExtendedCacheItemPoolInterface
112 112
          * @param $this ExtendedCacheItemInterface
113 113
          */
114
-        $this->eventManager->dispatch('CacheGetItem', $this, $this->itemInstances[ $key ]);
114
+        $this->eventManager->dispatch('CacheGetItem', $this, $this->itemInstances[$key]);
115 115
 
116
-        return $this->itemInstances[ $key ];
116
+        return $this->itemInstances[$key];
117 117
     }
118 118
 
119 119
     /**
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     public function setItem(CacheItemInterface $item)
125 125
     {
126 126
         if ($this->getClassNamespace() . '\\Item' === get_class($item)) {
127
-            $this->itemInstances[ $item->getKey() ] = $item;
127
+            $this->itemInstances[$item->getKey()] = $item;
128 128
 
129 129
             return $this;
130 130
         } else {
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     {
142 142
         $collection = [];
143 143
         foreach ($keys as $key) {
144
-            $collection[ $key ] = $this->getItem($key);
144
+            $collection[$key] = $this->getItem($key);
145 145
         }
146 146
 
147 147
         return $collection;
@@ -230,8 +230,8 @@  discard block
 block discarded – undo
230 230
          * @var ExtendedCacheItemInterface $item
231 231
          */
232 232
         if (!array_key_exists($item->getKey(), $this->itemInstances)) {
233
-            $this->itemInstances[ $item->getKey() ] = $item;
234
-        } else if(spl_object_hash($item) !== spl_object_hash($this->itemInstances[ $item->getKey() ])){
233
+            $this->itemInstances[$item->getKey()] = $item;
234
+        } else if (spl_object_hash($item) !== spl_object_hash($this->itemInstances[$item->getKey()])) {
235 235
             throw new \RuntimeException('Spl object hash mismatches ! You probably tried to save a detached item which has been already retrieved from cache.');
236 236
         }
237 237
 
@@ -261,8 +261,8 @@  discard block
 block discarded – undo
261 261
     public function saveDeferred(CacheItemInterface $item)
262 262
     {
263 263
         if (!array_key_exists($item->getKey(), $this->itemInstances)) {
264
-            $this->itemInstances[ $item->getKey() ] = $item;
265
-        }else if(spl_object_hash($item) !== spl_object_hash($this->itemInstances[ $item->getKey() ])){
264
+            $this->itemInstances[$item->getKey()] = $item;
265
+        } else if (spl_object_hash($item) !== spl_object_hash($this->itemInstances[$item->getKey()])) {
266 266
             throw new \RuntimeException('Spl object hash mismatches ! You probably tried to save a detached item which has been already retrieved from cache.');
267 267
         }
268 268
 
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
          */
274 274
         $this->eventManager->dispatch('CacheSaveDeferredItem', $this, $item);
275 275
 
276
-        return $this->deferredList[ $item->getKey() ] = $item;
276
+        return $this->deferredList[$item->getKey()] = $item;
277 277
     }
278 278
 
279 279
     /**
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
         foreach ($this->deferredList as $key => $item) {
294 294
             $result = $this->save($item);
295 295
             if ($return !== false) {
296
-                unset($this->deferredList[ $key ]);
296
+                unset($this->deferredList[$key]);
297 297
                 $return = $result;
298 298
             }
299 299
         }
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Devfalse/Driver.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * @param \Psr\Cache\CacheItemInterface $item
60
-     * @return mixed
60
+     * @return boolean
61 61
      * @throws \InvalidArgumentException
62 62
      */
63 63
     public function driverWrite(CacheItemInterface $item)
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -79,9 +79,9 @@  discard block
 block discarded – undo
79 79
     protected function driverRead(CacheItemInterface $item)
80 80
     {
81 81
         return [
82
-          self::DRIVER_DATA_WRAPPER_INDEX => false,
83
-          self::DRIVER_TAGS_WRAPPER_INDEX => [],
84
-          self::DRIVER_TIME_WRAPPER_INDEX => new \DateTime(),
82
+            self::DRIVER_DATA_WRAPPER_INDEX => false,
83
+            self::DRIVER_TAGS_WRAPPER_INDEX => [],
84
+            self::DRIVER_TIME_WRAPPER_INDEX => new \DateTime(),
85 85
         ];
86 86
     }
87 87
     /**
@@ -130,9 +130,9 @@  discard block
 block discarded – undo
130 130
     {
131 131
         $stat = new driverStatistic();
132 132
         $stat->setInfo('[Devfalse] A void info string')
133
-          ->setSize(0)
134
-          ->setData(implode(', ', array_keys($this->itemInstances)))
135
-          ->setRawData(false);
133
+            ->setSize(0)
134
+            ->setData(implode(', ', array_keys($this->itemInstances)))
135
+            ->setRawData(false);
136 136
 
137 137
         return $stat;
138 138
     }
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Memcached/Item.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * Item constructor.
32
-     * @param \phpFastCache\Drivers\Memcache\Driver $driver
32
+     * @param Driver $driver
33 33
      * @param $key
34 34
      * @throws \InvalidArgumentException
35 35
      */
Please login to merge, or discard this patch.
src/phpFastCache/Drivers/Predis/Item.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * Item constructor.
32
-     * @param \phpFastCache\Drivers\Apc\Driver $driver
32
+     * @param Driver $driver
33 33
      * @param $key
34 34
      * @throws \InvalidArgumentException
35 35
      */
Please login to merge, or discard this patch.
src/phpFastCache/Core/Item/ItemExtendedTrait.php 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public function getCreationDate()
69 69
     {
70
-        if($this->driver->getConfig()['itemDetailedDate']){
70
+        if ($this->driver->getConfig()['itemDetailedDate']) {
71 71
             return $this->creationDate;
72
-        }else{
72
+        } else {
73 73
             throw new \LogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
74 74
         }
75 75
     }
@@ -81,10 +81,10 @@  discard block
 block discarded – undo
81 81
      */
82 82
     public function setCreationDate(\DateTimeInterface $date)
83 83
     {
84
-        if($this->driver->getConfig()['itemDetailedDate']){
84
+        if ($this->driver->getConfig()['itemDetailedDate']) {
85 85
             $this->creationDate = $date;
86 86
             return $this;
87
-        }else{
87
+        } else {
88 88
             throw new \LogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
89 89
         }
90 90
     }
@@ -95,9 +95,9 @@  discard block
 block discarded – undo
95 95
      */
96 96
     public function getModificationDate()
97 97
     {
98
-        if($this->driver->getConfig()['itemDetailedDate']){
98
+        if ($this->driver->getConfig()['itemDetailedDate']) {
99 99
             return $this->modificationDate;
100
-        }else{
100
+        } else {
101 101
             throw new \LogicException('Cannot access to the modification date when the "itemDetailedDate" configuration is disabled.');
102 102
         }
103 103
     }
@@ -109,10 +109,10 @@  discard block
 block discarded – undo
109 109
      */
110 110
     public function setModificationDate(\DateTimeInterface $date)
111 111
     {
112
-        if($this->driver->getConfig()['itemDetailedDate']){
112
+        if ($this->driver->getConfig()['itemDetailedDate']) {
113 113
             $this->modificationDate = $date;
114 114
             return $this;
115
-        }else{
115
+        } else {
116 116
             throw new \LogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
117 117
         }
118 118
     }
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
     public function removeTag($tagName)
280 280
     {
281 281
         if (($key = array_search($tagName, $this->tags)) !== false) {
282
-            unset($this->tags[ $key ]);
282
+            unset($this->tags[$key]);
283 283
             $this->removedTags[] = $tagName;
284 284
         }
285 285
 
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
     final public function __debugInfo()
346 346
     {
347 347
         $info = get_object_vars($this);
348
-        $info[ 'driver' ] = 'object(' . get_class($info[ 'driver' ]) . ')';
348
+        $info['driver'] = 'object(' . get_class($info['driver']) . ')';
349 349
 
350 350
         return (array) $info;
351 351
     }
Please login to merge, or discard this patch.
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     {
70 70
         if($this->driver->getConfig()['itemDetailedDate']){
71 71
             return $this->creationDate;
72
-        }else{
72
+        } else{
73 73
             throw new \LogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
74 74
         }
75 75
     }
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         if($this->driver->getConfig()['itemDetailedDate']){
85 85
             $this->creationDate = $date;
86 86
             return $this;
87
-        }else{
87
+        } else{
88 88
             throw new \LogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
89 89
         }
90 90
     }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     {
98 98
         if($this->driver->getConfig()['itemDetailedDate']){
99 99
             return $this->modificationDate;
100
-        }else{
100
+        } else{
101 101
             throw new \LogicException('Cannot access to the modification date when the "itemDetailedDate" configuration is disabled.');
102 102
         }
103 103
     }
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         if($this->driver->getConfig()['itemDetailedDate']){
113 113
             $this->modificationDate = $date;
114 114
             return $this;
115
-        }else{
115
+        } else{
116 116
             throw new \LogicException('Cannot access to the creation date when the "itemDetailedDate" configuration is disabled.');
117 117
         }
118 118
     }
Please login to merge, or discard this patch.
src/phpFastCache/Core/Pool/DriverBaseTrait.php 4 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,9 +159,9 @@
 block discarded – undo
159 159
     public function driverPreWrap(ExtendedCacheItemInterface $item)
160 160
     {
161 161
         $wrap = [
162
-          self::DRIVER_DATA_WRAPPER_INDEX => $item->get(),
163
-          self::DRIVER_TAGS_WRAPPER_INDEX => $item->getTags(),
164
-          self::DRIVER_EDATE_WRAPPER_INDEX => $item->getExpirationDate(),
162
+            self::DRIVER_DATA_WRAPPER_INDEX => $item->get(),
163
+            self::DRIVER_TAGS_WRAPPER_INDEX => $item->getTags(),
164
+            self::DRIVER_EDATE_WRAPPER_INDEX => $item->getExpirationDate(),
165 165
         ];
166 166
 
167 167
         if($this->config['itemDetailedDate']){
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@
 block discarded – undo
273 273
         
274 274
         if (!is_dir($path)) {
275 275
             throw new phpFastCacheDriverException("Can't read PATH:" . $path, 94);
276
-        }else{
276
+        } else{
277 277
             $size = Directory::dirSize($path);
278 278
         }
279 279
 
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         if (is_array($config_name)) {
53 53
             $this->config = array_merge($this->config, $config_name);
54 54
         } else {
55
-            $this->config[ $config_name ] = $value;
55
+            $this->config[$config_name] = $value;
56 56
         }
57 57
     }
58 58
 
@@ -164,16 +164,16 @@  discard block
 block discarded – undo
164 164
           self::DRIVER_EDATE_WRAPPER_INDEX => $item->getExpirationDate(),
165 165
         ];
166 166
 
167
-        if($this->config['itemDetailedDate']){
168
-            $wrap[ self::DRIVER_MDATE_WRAPPER_INDEX ] = new \DateTime();
167
+        if ($this->config['itemDetailedDate']) {
168
+            $wrap[self::DRIVER_MDATE_WRAPPER_INDEX] = new \DateTime();
169 169
             /**
170 170
              * If the creation date exists
171 171
              * reuse it else set a new Date
172 172
              */
173
-            $wrap[ self::DRIVER_CDATE_WRAPPER_INDEX ] = $item->getCreationDate() ?: new \DateTime();
174
-        }else{
175
-            $wrap[ self::DRIVER_MDATE_WRAPPER_INDEX ] = null;
176
-            $wrap[ self::DRIVER_CDATE_WRAPPER_INDEX ] = null;
173
+            $wrap[self::DRIVER_CDATE_WRAPPER_INDEX] = $item->getCreationDate() ?: new \DateTime();
174
+        } else {
175
+            $wrap[self::DRIVER_MDATE_WRAPPER_INDEX] = null;
176
+            $wrap[self::DRIVER_CDATE_WRAPPER_INDEX] = null;
177 177
         }
178 178
 
179 179
         return $wrap;
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function driverUnwrapData(array $wrapper)
187 187
     {
188
-        return $wrapper[ self::DRIVER_DATA_WRAPPER_INDEX ];
188
+        return $wrapper[self::DRIVER_DATA_WRAPPER_INDEX];
189 189
     }
190 190
 
191 191
     /**
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     public function driverUnwrapTags(array $wrapper)
196 196
     {
197
-        return $wrapper[ self::DRIVER_TAGS_WRAPPER_INDEX ];
197
+        return $wrapper[self::DRIVER_TAGS_WRAPPER_INDEX];
198 198
     }
199 199
 
200 200
 
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
      */
205 205
     public function driverUnwrapEdate(array $wrapper)
206 206
     {
207
-        return $wrapper[ self::DRIVER_EDATE_WRAPPER_INDEX ];
207
+        return $wrapper[self::DRIVER_EDATE_WRAPPER_INDEX];
208 208
     }
209 209
 
210 210
     /**
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
      */
214 214
     public function driverUnwrapCdate(array $wrapper)
215 215
     {
216
-        return $wrapper[ self::DRIVER_CDATE_WRAPPER_INDEX ];
216
+        return $wrapper[self::DRIVER_CDATE_WRAPPER_INDEX];
217 217
     }
218 218
 
219 219
 
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      */
224 224
     public function driverUnwrapMdate(array $wrapper)
225 225
     {
226
-        return $wrapper[ self::DRIVER_MDATE_WRAPPER_INDEX ];
226
+        return $wrapper[self::DRIVER_MDATE_WRAPPER_INDEX];
227 227
     }
228 228
 
229 229
     /**
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
          * on tags item, it can leads
249 249
          * to an infinite recursive calls
250 250
          */
251
-        if(strpos($item->getKey(), self::DRIVER_TAGS_KEY_PREFIX ) === 0){
251
+        if (strpos($item->getKey(), self::DRIVER_TAGS_KEY_PREFIX) === 0) {
252 252
             throw new \LogicException('Trying to set tag(s) to an Tag item index: ' . $item->getKey());
253 253
         }
254 254
 
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
         foreach ($tagsItems as $tagsItem) {
292 292
             $data = (array) $tagsItem->get();
293 293
 
294
-            unset($data[ $item->getKey() ]);
294
+            unset($data[$item->getKey()]);
295 295
             $tagsItem->set($data);
296 296
 
297 297
             /**
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,9 +13,7 @@
 block discarded – undo
13 13
  */
14 14
 namespace phpFastCache\Core\Pool;
15 15
 
16
-use phpFastCache\Exceptions\phpFastCacheDriverException;
17 16
 use phpFastCache\Core\Item\ExtendedCacheItemInterface;
18
-use phpFastCache\Util\Directory;
19 17
 
20 18
 
21 19
 /**
Please login to merge, or discard this patch.
src/phpFastCache/Util/MemcacheDriverCollisionDetectorTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
                 return true;
28 28
             } else if (constant($CONSTANT_NAME) !== $driverName) {
29 29
                 trigger_error('Memcache collision detected, you used both Memcache and Memcached driver in your script, this may leads to unexpected behaviours',
30
-                  E_USER_WARNING);
30
+                    E_USER_WARNING);
31 31
 
32 32
                 return false;
33 33
             }
Please login to merge, or discard this patch.
tests/AbstractProxy.test.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@
 block discarded – undo
42 42
 if (!is_object($driverInstance->getItem('test'))) {
43 43
     echo '[FAIL] $driverInstance->getItem() returned an invalid var type:' . gettype($driverInstance) . "\n";
44 44
     $status = 1;
45
-}else if(!($driverInstance->getItem('test') instanceof ExtendedCacheItemInterface)){
45
+} else if (!($driverInstance->getItem('test') instanceof ExtendedCacheItemInterface)) {
46 46
     echo '[FAIL] $driverInstance->getItem() returned an invalid class that does not implements ExtendedCacheItemInterface: ' . get_class($driverInstance) . "\n";
47 47
     $status = 1;
48
-}else{
48
+} else {
49 49
     echo '[PASS] $driverInstance->getItem() returned a valid class that implements ExtendedCacheItemInterface: ' . get_class($driverInstance) . "\n";
50 50
 }
51 51
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@
 block discarded – undo
42 42
 if (!is_object($driverInstance->getItem('test'))) {
43 43
     echo '[FAIL] $driverInstance->getItem() returned an invalid var type:' . gettype($driverInstance) . "\n";
44 44
     $status = 1;
45
-}else if(!($driverInstance->getItem('test') instanceof ExtendedCacheItemInterface)){
45
+} else if(!($driverInstance->getItem('test') instanceof ExtendedCacheItemInterface)){
46 46
     echo '[FAIL] $driverInstance->getItem() returned an invalid class that does not implements ExtendedCacheItemInterface: ' . get_class($driverInstance) . "\n";
47 47
     $status = 1;
48
-}else{
48
+} else{
49 49
     echo '[PASS] $driverInstance->getItem() returned a valid class that implements ExtendedCacheItemInterface: ' . get_class($driverInstance) . "\n";
50 50
 }
51 51
 
Please login to merge, or discard this patch.
src/phpFastCache/Entities/driverStatistic.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @return int|bool Return size in octet or false if no information available
55
+     * @return string Return size in octet or false if no information available
56 56
      */
57 57
     public function getSize()
58 58
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @return mixed
63
+     * @return string
64 64
      */
65 65
     public function getData()
66 66
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     }
69 69
 
70 70
     /**
71
-     * @param $info
71
+     * @param string $info
72 72
      * @return $this
73 73
      */
74 74
     public function setInfo($info)
Please login to merge, or discard this patch.