@@ -277,7 +277,7 @@ |
||
| 277 | 277 | } |
| 278 | 278 | } |
| 279 | 279 | |
| 280 | - if (! empty($options['dql']) && $query instanceof Query) {
|
|
| 280 | + if (!empty($options['dql']) && $query instanceof Query) {
|
|
| 281 | 281 | $query->setDQL($options['dql']); |
| 282 | 282 | } |
| 283 | 283 | |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | {
|
| 24 | 24 | $entity = $event->getEntity(); |
| 25 | 25 | |
| 26 | - if (null === $entity || ! $entity instanceof DateCreatedAwareInterface) {
|
|
| 26 | + if (null === $entity || !$entity instanceof DateCreatedAwareInterface) {
|
|
| 27 | 27 | return; |
| 28 | 28 | } |
| 29 | 29 | |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | {
|
| 24 | 24 | $entity = $event->getEntity(); |
| 25 | 25 | |
| 26 | - if (null === $entity || ! $entity instanceof DateDeletedAwareInterface) {
|
|
| 26 | + if (null === $entity || !$entity instanceof DateDeletedAwareInterface) {
|
|
| 27 | 27 | return; |
| 28 | 28 | } |
| 29 | 29 | |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | {
|
| 24 | 24 | $entity = $event->getEntity(); |
| 25 | 25 | |
| 26 | - if (null === $entity || ! $entity instanceof DateUpdatedAwareInterface) {
|
|
| 26 | + if (null === $entity || !$entity instanceof DateUpdatedAwareInterface) {
|
|
| 27 | 27 | return; |
| 28 | 28 | } |
| 29 | 29 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | {
|
| 36 | 36 | $className = $config['class_name'] ?? $this->defaultClassName; |
| 37 | 37 | |
| 38 | - if (! is_a($className, PersistServiceInterface::class, true)) {
|
|
| 38 | + if (!is_a($className, PersistServiceInterface::class, true)) {
|
|
| 39 | 39 | throw new FactoryException( |
| 40 | 40 | sprintf( |
| 41 | 41 | 'The \'class_name\' configuration option must reference a class of type \'%s\'', |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | ); |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | - if (! $entityManager instanceof EntityManagerInterface) {
|
|
| 63 | + if (!$entityManager instanceof EntityManagerInterface) {
|
|
| 64 | 64 | throw new FactoryException( |
| 65 | 65 | sprintf( |
| 66 | 66 | 'The \'entity_manager\' must be an object of type \'%s\'; \'%s\' provided in \'%s\'', |