Passed
Pull Request — master (#55)
by Thomas
01:31
created
src/Testing/EntityManagerMock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             return new EntityFetcherMock($this, $class);
21 21
         }
22 22
 
23
-        $primaryKey = $this->buildPrimaryKey($class, (array)$primaryKey);
23
+        $primaryKey = $this->buildPrimaryKey($class, (array) $primaryKey);
24 24
         $checksum = $this->buildChecksum($primaryKey);
25 25
 
26 26
         if (isset($this->map[$class][$checksum])) {
Please login to merge, or discard this patch.
src/Testing/MocksEntityManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
         $em = $this->ormGetEntityManagerInstance($class);
176 176
 
177 177
         /** @var m\Mock|EntityFetcher $fetcher */
178
-        $fetcher = m::mock(EntityFetcher::class, [ $em, $class ])->makePartial();
178
+        $fetcher = m::mock(EntityFetcher::class, [$em, $class])->makePartial();
179 179
         $expectation = $em->shouldReceive('fetch')->with($class)->andReturn($fetcher);
180 180
 
181 181
         /** @scrutinizer ignore-call */
Please login to merge, or discard this patch.