@@ -20,7 +20,7 @@ |
||
| 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])) { |
@@ -163,7 +163,7 @@ |
||
| 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 */ |