Passed
Push — dev ( cc9db8...1b0f93 )
by Yan
01:44
created
src/Lincable/Concerns/BuildClassnames.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     protected function firstClassName(string $name, array $classes, string $suffix)
19 19
     {
20
-        return array_first($classes, function ($class) use ($name, $suffix) {
20
+        return array_first($classes, function($class) use ($name, $suffix) {
21 21
             $class = $this->nameToCamelCase($class);            
22 22
             
23 23
             return Str::endsWith($class, $suffix)
Please login to merge, or discard this patch.
src/Lincable/Parsers/Parser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function addFormatters($formatters)
85 85
     {
86
-        array_map(function ($formatter) {
86
+        array_map(function($formatter) {
87 87
             $this->addFormatter($formatter);
88 88
         }, $formatters);
89 89
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      * @param  mixed  $params
171 171
      * @return mixed
172 172
      */
173
-    protected function callFormatter(string $name, $params = [])
173
+    protected function callFormatter(string $name, $params = [ ])
174 174
     {
175 175
         if ($formatter = $this->findFormatter($name)) {
176 176
             
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      * @param  array $params
192 192
      * @return mixed
193 193
      */
194
-    protected function executeFormatter(Formatter $formatter, array $params = [])
194
+    protected function executeFormatter(Formatter $formatter, array $params = [ ])
195 195
     {
196 196
         // Call the format method of formatter class.  
197 197
         return $formatter->format(...$params);
Please login to merge, or discard this patch.