| @@ -230,7 +230,7 @@ discard block | ||
| 230 | 230 | * @param mixed $handler handler that should be executed | 
| 231 | 231 | * @param mixed $matches found matched variables | 
| 232 | 232 | |
| 233 | - * @return mixed | |
| 233 | + * @return string | |
| 234 | 234 | */ | 
| 235 | 235 | private function resolveNamespace($parameters, $handler, $matches) | 
| 236 | 236 |      { | 
| @@ -323,7 +323,7 @@ discard block | ||
| 323 | 323 | /** | 
| 324 | 324 | * Get names of parameters for provided class and method | 
| 325 | 325 | * | 
| 326 | - * @param class $class name of class | |
| 326 | + * @param string $class name of class | |
| 327 | 327 | * @param string $methodName name of method | 
| 328 | 328 | * | 
| 329 | 329 | * @return array | 
| @@ -36,7 +36,7 @@ discard block | ||
| 36 | 36 |      { | 
| 37 | 37 | $class = get_called_class(); | 
| 38 | 38 |          if (!array_key_exists($class, self::$cache)) { | 
| 39 | - $reflection = new \ReflectionClass($class); | |
| 39 | + $reflection = new \ReflectionClass($class); | |
| 40 | 40 | self::$cache[$class] = $reflection->getConstants(); | 
| 41 | 41 | } | 
| 42 | 42 | |
| @@ -52,6 +52,6 @@ discard block | ||
| 52 | 52 |      { | 
| 53 | 53 | $allItems = array_flip(self::toArray()); | 
| 54 | 54 | |
| 55 | - return isset($allItems[$value]) ? true:false; | |
| 55 | + return isset($allItems[$value]) ? true : false; | |
| 56 | 56 | } | 
| 57 | 57 | } |