@@ -11,7 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | public function draw(\DateTimeInterface $date): string |
| 13 | 13 | { |
| 14 | - return 'new Date('.$date->format('Y').', '.((int) $date->format('n') - 1).', '.$date->format('j').', '. |
|
| 14 | + return 'new Date('.$date->format('Y').', '.((int)$date->format('n')-1).', '.$date->format('j').', '. |
|
| 15 | 15 | $date->format('H').', '.$date->format('i').', '.$date->format('s').')'; |
| 16 | 16 | } |
| 17 | 17 | } |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | { |
| 10 | 10 | public function removeRecursivelyNullValue(&$options): void |
| 11 | 11 | { |
| 12 | - $options = array_filter((array) $options, fn ($val) => !is_null($val)); |
|
| 12 | + $options = array_filter((array)$options, fn ($val) => !is_null($val)); |
|
| 13 | 13 | |
| 14 | 14 | foreach ($options as $key => $value) { |
| 15 | 15 | if (is_object($value) || is_array($value)) { |
@@ -141,7 +141,7 @@ |
||
| 141 | 141 | |
| 142 | 142 | public function loadLibraries(array $packages): string |
| 143 | 143 | { |
| 144 | - array_walk($packages, function (&$item): void { |
|
| 144 | + array_walk($packages, function(&$item): void { |
|
| 145 | 145 | $item = "'".$item."'"; |
| 146 | 146 | }); |
| 147 | 147 | |