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