Passed
Branch master (788ff6)
by Peter
05:30 queued 56s
created
Category
src/Bootstrappers/Assets/AssetManagerBootstrapper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
         $transpiler = $container->resolve(ITranspiler::class);
82 82
         $transpiler->registerViewFunction(
83 83
             'assetJs',
84
-            function ($keys, $type = '') use ($assets) {
85
-                $callback = function ($key) use ($assets, $type) {
84
+            function($keys, $type = '') use ($assets) {
85
+                $callback = function($key) use ($assets, $type) {
86 86
                     $path = $assets->ensureJsWebPath($key);
87 87
                     if (empty($path)) {
88 88
                         return '';
@@ -100,8 +100,8 @@  discard block
 block discarded – undo
100 100
         );
101 101
         $transpiler->registerViewFunction(
102 102
             'assetCss',
103
-            function ($keys) use ($assets) {
104
-                $callback = function ($key) use ($assets) {
103
+            function($keys) use ($assets) {
104
+                $callback = function($key) use ($assets) {
105 105
                     $path = $assets->ensureCssWebPath($key);
106 106
                     if (empty($path)) {
107 107
                         return '';
Please login to merge, or discard this patch.
src/Form/Element/Input.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             $attributes[Html5::ATTR_TYPE] = static::DEFAULT_TYPE;
68 68
         }
69 69
 
70
-        $attributes[Html5::ATTR_NAME]  = $name;
70
+        $attributes[Html5::ATTR_NAME] = $name;
71 71
 
72 72
         parent::__construct(null, $intents, $attributes, $tag);
73 73
 
Please login to merge, or discard this patch.
src/Template/Template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     protected function parseResult(): array
158 158
     {
159 159
         return array_map(
160
-            function ($typeArray) {
160
+            function($typeArray) {
161 161
                 return array_keys($typeArray);
162 162
             },
163 163
             $this->subTemplates
Please login to merge, or discard this patch.
fallback-routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
  */
15 15
 $router->group(
16 16
     ['controllerNamespace' => 'AbterPhp\Framework\Http\Controllers'],
17
-    function (Router $router) {
17
+    function(Router $router) {
18 18
 
19 19
         /** @see \AbterPhp\Framework\Http\Controllers\Website\Index::notFound() */
20 20
         $router->any(
Please login to merge, or discard this patch.