Completed
Pull Request — master (#19)
by Michal
08:13
created
app/Drivers/Redis/RedisDataManager.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -310,6 +310,9 @@  discard block
 block discarded – undo
310 310
         return $results;
311 311
     }
312 312
 
313
+    /**
314
+     * @param string $function
315
+     */
313 316
     private function headers($function)
314 317
     {
315 318
         if ($function === 'get' || $function === 'hget') {
@@ -327,6 +330,9 @@  discard block
 block discarded – undo
327 330
         return [];
328 331
     }
329 332
 
333
+    /**
334
+     * @param string $function
335
+     */
330 336
     private function getItems($function, $rows)
331 337
     {
332 338
         $items = [];
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@
 block discarded – undo
292 292
 
293 293
     public function execute($commands)
294 294
     {
295
-        $listOfCommands = array_filter(array_map('trim', explode("\n", $commands)), function ($command) {
295
+        $listOfCommands = array_filter(array_map('trim', explode("\n", $commands)), function($command) {
296 296
             return $command;
297 297
         });
298 298
 
Please login to merge, or discard this patch.