@@ -310,6 +310,9 @@ discard block  | 
                                                    ||
| 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  | 
                                                    ||
| 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 = [];  | 
                                                        
@@ -292,7 +292,7 @@  | 
                                                    ||
| 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 | |