Passed
Push — master ( f85738...3d85c1 )
by Peter
04:52
created
src/Form/Factory/ApiClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      */
91 91
     protected function addJsOnly(): ApiClient
92 92
     {
93
-        $content    = sprintf(
93
+        $content = sprintf(
94 94
             '<i class="material-icons">warning</i>&nbsp;%s',
95 95
             $this->translator->translate('admin:jsOnly')
96 96
         );
Please login to merge, or discard this patch.
src/Oauth2/Entity/Scope.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function __construct(string $identifier)
21 21
     {
22
-        $this->identifier  = $identifier;
22
+        $this->identifier = $identifier;
23 23
     }
24 24
 
25 25
     /**
Please login to merge, or discard this patch.
api-routes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@  discard block
 block discarded – undo
15 15
  */
16 16
 $router->group(
17 17
     ['controllerNamespace' => 'AbterPhp\Admin\\Http\\Controllers'],
18
-    function (Router $router) {
18
+    function(Router $router) {
19 19
         $router->group(
20 20
             [
21 21
                 'path' => PATH_API,
22 22
             ],
23
-            function (Router $router) {
23
+            function(Router $router) {
24 24
                 /** @see \AbterPhp\Admin\Http\Controllers\Api\AccessToken::create() */
25 25
                 $router->post(
26 26
                     Routes::PATH_ACCESS_TOKEN,
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                     Api::class,
39 39
                 ],
40 40
             ],
41
-            function (Router $router) {
41
+            function(Router $router) {
42 42
                 $entities = [
43 43
                     'usergroups'    => 'UserGroup',
44 44
                     'userlanguages' => 'UserLanguage',
Please login to merge, or discard this patch.
fallback-routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  */
16 16
 $router->group(
17 17
     ['controllerNamespace' => 'AbterPhp\Admin\\Http\\Controllers'],
18
-    function (Router $router) {
18
+    function(Router $router) {
19 19
         $router->group(
20 20
             [
21 21
                 'path'       => PATH_API,
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
                     Api::class,
24 24
                 ],
25 25
             ],
26
-            function (Router $router) {
26
+            function(Router $router) {
27 27
                 /** @see \AbterPhp\Admin\Http\Controllers\Api\Index::notFound() */
28 28
                 $router->any(
29 29
                     Routes::PATH_404,
Please login to merge, or discard this patch.
src/Grid/Factory/BaseFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     {
141 141
         $urlGenerator = $this->urlGenerator;
142 142
 
143
-        $hrefClosure = function ($attribute, IEntity $entity) use ($urlGenerator) {
143
+        $hrefClosure = function($attribute, IEntity $entity) use ($urlGenerator) {
144 144
             return $urlGenerator->createFromName($attribute, $entity->getId());
145 145
         };
146 146
 
Please login to merge, or discard this patch.