@@ -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 | ); |
@@ -68,7 +68,7 @@ |
||
68 | 68 | * |
69 | 69 | * @return null|UserEntity |
70 | 70 | */ |
71 | - public function getIdentity() : ?UserEntity |
|
71 | + public function getIdentity() : ? UserEntity |
|
72 | 72 | { |
73 | 73 | return $this->sessionManager->get($this->sessionKey); |
74 | 74 | } |
@@ -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']; |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace WebHemi\Middleware\Action\Admin; |
15 | 15 | |
16 | -use WebHemi\Environment\ServiceInterface as EnvironmentInterface; |
|
17 | 16 | use WebHemi\Auth\ServiceInterface as AuthInterface; |
17 | +use WebHemi\Environment\ServiceInterface as EnvironmentInterface; |
|
18 | 18 | use WebHemi\Middleware\Action\AbstractMiddlewareAction; |
19 | 19 | |
20 | 20 | /** |
@@ -19,8 +19,8 @@ |
||
19 | 19 | use WebHemi\Auth\ServiceInterface as AuthInterface; |
20 | 20 | use WebHemi\Data\Entity\User\UserEntity; |
21 | 21 | use WebHemi\Environment\ServiceInterface as EnvironmentInterface; |
22 | -use WebHemi\Form\Element\Html\HtmlElement; |
|
23 | 22 | use WebHemi\Form\ElementInterface; |
23 | +use WebHemi\Form\Element\Html\HtmlElement; |
|
24 | 24 | use WebHemi\Form\PresetInterface; |
25 | 25 | use WebHemi\Form\ServiceAdapter\Base\ServiceAdapter as HtmlForm; |
26 | 26 | use WebHemi\Middleware\Action\AbstractMiddlewareAction; |