@@ -23,12 +23,12 @@ discard block |
||
| 23 | 23 | private function createTestDouble(Property $property) |
| 24 | 24 | { |
| 25 | 25 | if ($property->hasType(ObjectProphecy::class)) { |
| 26 | - return $this->createTestDoubleWithProphecy($property->getTypesFiltered(function (string $type) { |
|
| 26 | + return $this->createTestDoubleWithProphecy($property->getTypesFiltered(function(string $type) { |
|
| 27 | 27 | return ObjectProphecy::class !== $type; |
| 28 | 28 | })); |
| 29 | 29 | } |
| 30 | 30 | if ($property->hasType(MockObject::class)) { |
| 31 | - return $this->createTestDoubleWithPhpunit($property->getTypesFiltered(function (string $type) { |
|
| 31 | + return $this->createTestDoubleWithPhpunit($property->getTypesFiltered(function(string $type) { |
|
| 32 | 32 | return MockObject::class !== $type; |
| 33 | 33 | })); |
| 34 | 34 | } |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | |
| 63 | 63 | private function getTestDoubleProperties(): array |
| 64 | 64 | { |
| 65 | - return (new ReflectionExtractor())->extract($this, function (Property $property) { |
|
| 65 | + return (new ReflectionExtractor())->extract($this, function(Property $property) { |
|
| 66 | 66 | return $property->hasType(ObjectProphecy::class) || $property->hasType(MockObject::class); |
| 67 | 67 | }); |
| 68 | 68 | } |