Passed
Pull Request — master (#55)
by Thomas
01:33
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
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
         $em = EntityManager::getInstance($class);
164 164
 
165 165
         /** @var m\Mock|EntityFetcher $fetcher */
166
-        $fetcher = m::mock(EntityFetcher::class, [ $em, $class ])->makePartial();
166
+        $fetcher = m::mock(EntityFetcher::class, [$em, $class])->makePartial();
167 167
         $expectation = $em->shouldReceive('fetch')->with($class)->andReturn($fetcher);
168 168
 
169 169
         /** @scrutinizer ignore-call */
Please login to merge, or discard this patch.