Skip to content

Commit 0f255b2

Browse files
committed
Apply code style
1 parent 3b666cd commit 0f255b2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Column/DateTimeColumn.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ public function normalize($value)
3333
if (!$value instanceof \DateTimeInterface) {
3434
if (!empty($this->options['createFromFormat'])) {
3535
$value = \DateTime::createFromFormat($this->options['createFromFormat'], (string) $value);
36-
if ($value === false) {
36+
if (false === $value) {
3737
$errors = \DateTime::getLastErrors();
3838
throw new \Exception(implode(', ', $errors['errors'] ?: $errors['warnings']));
3939
}
4040
} else {
41-
$value = new \DateTime((string)$value);
41+
$value = new \DateTime((string) $value);
4242
}
4343
}
4444

tests/Functional/Adapter/Doctrine/ORMAdapterEventsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
namespace Tests\Functional\Adapter\Doctrine;
1414

1515
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
16-
use Symfony\Component\BrowserKit\Client;
1716
use Symfony\Component\Cache\DoctrineProvider;
1817
use Tests\Fixtures\AppBundle\Controller\ORMAdapterEventsController;
1918

0 commit comments

Comments
 (0)