Passed
Push — master ( b2b073...44266f )
by ReliQ
03:22
created
src/HTML/ElementExtractor/PatternBasedExtractor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
         foreach ($extractedClasses as $combinedClass) {
26 26
             $splitClasses = array_map(
27
-                function (string $class): string {
27
+                function(string $class): string {
28 28
                     return sprintf('.%s', $class);
29 29
                 },
30 30
                 preg_split('/\s+/', $combinedClass)
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $idNames = $this->extractItemsByPattern($html, self::PATTERN_IDS);
47 47
 
48 48
         return array_map(
49
-            function (string $id): string {
49
+            function(string $id): string {
50 50
                 return sprintf('#%s', $id);
51 51
             },
52 52
             array_unique($idNames)
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $this->app->singleton(Importer::class, Agent::class);
60 60
         $this->app->singleton(
61 61
             ConfigProvider::class,
62
-            function (): ConfigProvider {
62
+            function(): ConfigProvider {
63 63
                 return $this->configProvider;
64 64
             }
65 65
         );
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         $viewFactory = resolve(ViewFactory::class);
71 71
         $viewFactory->composer(
72 72
             '*',
73
-            function (View $view): void {
73
+            function(View $view): void {
74 74
                 $view->with('styleImporter', resolve(Importer::class));
75 75
                 $view->with('styleImporterConfigProvider', resolve(ConfigProvider::class));
76 76
                 $view->with($this->configProvider->getCurrentViewNameVariableName(), $view->getName());
Please login to merge, or discard this patch.