@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Xgc\CarbonBundle\Form\DataTransformer; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Xgc\CarbonBundle\Test; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Xgc\CarbonBundle\Form\DataTransformer; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Xgc\CarbonBundle\Doctrine\DBAL\Type; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Xgc\CarbonBundle\Request\ParamConverter; |
| 5 | 5 | |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | * |
| 106 | 106 | * @throws NotFoundHttpException |
| 107 | 107 | */ |
| 108 | - private function getCarbon(?string $format, string $value, string $param): Carbon |
|
| 108 | + private function getCarbon(?string $format, string $value, string $param) : Carbon |
|
| 109 | 109 | { |
| 110 | 110 | try { |
| 111 | 111 | if ($format !== null) { |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Xgc\CarbonBundle; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Xgc\CarbonBundle\Form\Type; |
| 5 | 5 | |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | $builder |
| 135 | 135 | ->addViewTransformer(new DataTransformerChain([ |
| 136 | 136 | new CarbonToArrayTransformer($options['model_timezone'], $options['view_timezone'], $this->parts), |
| 137 | - new ArrayToPartsTransformer(['date' => $this->dateParts, 'time' => $this->timeParts,]), |
|
| 137 | + new ArrayToPartsTransformer(['date' => $this->dateParts, 'time' => $this->timeParts, ]), |
|
| 138 | 138 | ])) |
| 139 | 139 | ->add('date', DateType::class, $dateOptions) |
| 140 | 140 | ->add('time', TimeType::class, $timeOptions); |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Xgc\CarbonBundle\DependencyInjection; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Xgc\CarbonBundle\EventListener; |
| 5 | 5 | |