Passed
Push — master ( e45ec1...0662c2 )
by Михаил
04:14 queued 01:11
created
Command/IndexEntitiesCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
Command/ClearIndexCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
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];
Please login to merge, or discard this patch.