@@ -136,6 +136,9 @@ discard block  | 
                                                    ||
| 136 | 136 | return $validator;  | 
                                                        
| 137 | 137 | }  | 
                                                        
| 138 | 138 | |
| 139 | + /**  | 
                                                        |
| 140 | + * @param string $pattern  | 
                                                        |
| 141 | + */  | 
                                                        |
| 139 | 142 | protected function getMethodAndParams($pattern)  | 
                                                        
| 140 | 143 |      { | 
                                                        
| 141 | 144 |          if (false === $pivot = strpos($pattern, ':')) { | 
                                                        
@@ -144,6 +147,10 @@ discard block  | 
                                                    ||
| 144 | 147 | $method = substr($pattern, 0, $pivot);  | 
                                                        
| 145 | 148 | $params = array_reduce(  | 
                                                        
| 146 | 149 |              explode(',', substr($pattern, $pivot + 1)), | 
                                                        
| 150 | +  | 
                                                        |
| 151 | + /**  | 
                                                        |
| 152 | + * @param string $carry  | 
                                                        |
| 153 | + */  | 
                                                        |
| 147 | 154 |              function ($carry, $value) { | 
                                                        
| 148 | 155 | $value = trim($value);  | 
                                                        
| 149 | 156 |                  if ($value) { |