@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $parts = explode('#', $input); |
| 43 | 43 | array_walk( |
| 44 | 44 | $parts, |
| 45 | - function (&$value) { |
|
| 45 | + function(&$value) { |
|
| 46 | 46 | $value = ucfirst(strtolower($value)); |
| 47 | 47 | } |
| 48 | 48 | ); |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $this->result = $routeResult; |
| 51 | 51 | $this->applicationPath = $environmentManager->getSelectedApplicationUri(); |
| 52 | 52 | $this->adapter = \FastRoute\simpleDispatcher( |
| 53 | - function (RouteCollector $routeCollector) use ($routes) { |
|
| 53 | + function(RouteCollector $routeCollector) use ($routes) { |
|
| 54 | 54 | foreach ($routes as $route) { |
| 55 | 55 | $method = $route['allowed_methods']; |
| 56 | 56 | $uri = $route['path']; |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | /** |
| 96 | 96 | * Returns a User Meta data list identified by user ID. |
| 97 | 97 | * |
| 98 | - * @param mixed $userId |
|
| 98 | + * @param null|integer $userId |
|
| 99 | 99 | * @return array |
| 100 | 100 | */ |
| 101 | 101 | public function getUserMetaSetForUserId($userId) : array |