@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | } |
| 95 | 95 | } else { |
| 96 | 96 | $entitiesClasses = $this->getAssocEntitiesClasses(); |
| 97 | - if (!array_key_exists($entityType, $entitiesClasses )) { |
|
| 97 | + if (!array_key_exists($entityType, $entitiesClasses)) { |
|
| 98 | 98 | throw new \Exception('There is no such possible entity-type. Check help section for possible values'); |
| 99 | 99 | } |
| 100 | 100 | $entityClass = $entitiesClasses[$entityType]; |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | private function processRepository(EntityRepository $repository, EntityManager $em) |
| 137 | 137 | { |
| 138 | 138 | $offset = 0; |
| 139 | - while ($entities = $repository->findBy([],['id'=> 'asc'], self::BUNCH_COUNT, $offset)) { |
|
| 139 | + while ($entities = $repository->findBy([], ['id'=> 'asc'], self::BUNCH_COUNT, $offset)) { |
|
| 140 | 140 | foreach ($entities as $entity) { |
| 141 | 141 | $this->processEntity($entity); |
| 142 | 142 | } |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | } |
| 93 | 93 | } else { |
| 94 | 94 | $entitiesClasses = $this->getAssocEntitiesClasses(); |
| 95 | - if (!array_key_exists($entityType, $entitiesClasses )) { |
|
| 95 | + if (!array_key_exists($entityType, $entitiesClasses)) { |
|
| 96 | 96 | throw new \Exception('There is no such possible entity-type. Check help section for possible values'); |
| 97 | 97 | } |
| 98 | 98 | $entityClass = $entitiesClasses[$entityType]; |