@@ -31,10 +31,10 @@ |
||
31 | 31 | { |
32 | 32 | $type = new UserErrorsType([ |
33 | 33 | 'errorCodes' => ['invalidColor'], |
34 | - 'validation' => static function ($value) { |
|
34 | + 'validation' => static function($value) { |
|
35 | 35 | return 0; |
36 | 36 | }, |
37 | - 'typeSetter' => static function ($type) use (&$types) { |
|
37 | + 'typeSetter' => static function($type) use (&$types) { |
|
38 | 38 | $types[$type->name] = $type; |
39 | 39 | }, |
40 | 40 | 'type' => new IDType(['name' => 'Color']), |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | 'unknownUser', |
24 | 24 | 'userIsMinor', |
25 | 25 | ], |
26 | - 'typeSetter' => static function ($type) use (&$types) { |
|
26 | + 'typeSetter' => static function($type) use (&$types) { |
|
27 | 27 | $types[$type->name] = $type; |
28 | 28 | }, |
29 | 29 | 'type' => new IDType(['name' => 'User']), |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | ], |
57 | 57 | ], |
58 | 58 | ]), |
59 | - 'typeSetter' => static function ($type) use (&$types) { |
|
59 | + 'typeSetter' => static function($type) use (&$types) { |
|
60 | 60 | $types[$type->name] = $type; |
61 | 61 | }, |
62 | 62 | ], ['updateBook']); |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | ], |
85 | 85 | ], |
86 | 86 | ]), |
87 | - 'typeSetter' => static function ($type) use (&$types) { |
|
87 | + 'typeSetter' => static function($type) use (&$types) { |
|
88 | 88 | $types[$type->name] = $type; |
89 | 89 | }, |
90 | 90 | ], ['updateBook']); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } |
23 | 23 | |
24 | 24 | // Toss out the first and last lines. |
25 | - $lines = array_slice($lines, 1, count($lines) - 2); |
|
25 | + $lines = array_slice($lines, 1, count($lines)-2); |
|
26 | 26 | |
27 | 27 | // take the tabs form the first line, and subtract them from all lines |
28 | 28 | $matches = []; |