@@ -42,10 +42,10 @@ |
||
42 | 42 | * @param array ...$args |
43 | 43 | * @return array |
44 | 44 | */ |
45 | - public static function forEach(callable $closure, array $array, ...$args) |
|
45 | + public static function forEach (callable $closure, array $array, ...$args) |
|
46 | 46 | { |
47 | 47 | return array_map( |
48 | - function ($item) use ($closure, $args) { |
|
48 | + function($item) use ($closure, $args) { |
|
49 | 49 | return static::within($closure, $item, ...$args); |
50 | 50 | }, |
51 | 51 | $array |
@@ -35,7 +35,7 @@ |
||
35 | 35 | public function rules() |
36 | 36 | { |
37 | 37 | return [ |
38 | - ['phone', 'string',], |
|
38 | + ['phone', 'string', ], |
|
39 | 39 | ]; |
40 | 40 | } |
41 | 41 | } |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | return [ |
34 | 34 | 'flexibleTimestamp' => [ |
35 | 35 | 'class' => FlexibleTimestampBehavior::class, |
36 | - 'attributes' => ['timestamp', 'date1', 'date2',], |
|
36 | + 'attributes' => ['timestamp', 'date1', 'date2', ], |
|
37 | 37 | 'format' => $this->format, |
38 | 38 | ], |
39 | 39 | ]; |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | public function rules() |
46 | 46 | { |
47 | 47 | return [ |
48 | - [['timestamp', 'date1', 'date2',], 'date', 'format' => 'php:Y-m-d',], |
|
48 | + [['timestamp', 'date1', 'date2', ], 'date', 'format' => 'php:Y-m-d', ], |
|
49 | 49 | ]; |
50 | 50 | } |
51 | 51 | } |