@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | return $value->format($platform->getDateTimeFormatString()); |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - throw ConversionException::conversionFailedInvalidType($value, $this->getName(), ['null', 'Carbon']); |
|
| 60 | + throw ConversionException::conversionFailedInvalidType($value, $this->getName(), [ 'null', 'Carbon' ]); |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | try { |
| 78 | - $carbon = Carbon::createFromFormat($platform->getDateTimeFormatString(), $value); |
|
| 78 | + $carbon=Carbon::createFromFormat($platform->getDateTimeFormatString(), $value); |
|
| 79 | 79 | } catch (InvalidArgumentException $exception) { |
| 80 | 80 | throw ConversionException::conversionFailedFormat( |
| 81 | 81 | $value, |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function load(array $configs, ContainerBuilder $container): void |
| 30 | 30 | { |
| 31 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../../config')); |
|
| 31 | + $loader=new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../../config')); |
|
| 32 | 32 | |
| 33 | 33 | $loader->load(__DIR__ . '/../../config/doctrine.yml'); |
| 34 | 34 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function getContainerExtension(): ?ExtensionInterface |
| 25 | 25 | { |
| 26 | - $this->extension = $this->extension ?? new CarbonExtension(); |
|
| 26 | + $this->extension=$this->extension ?? new CarbonExtension(); |
|
| 27 | 27 | return $this->extension; |
| 28 | 28 | } |
| 29 | 29 | } |