Failed Conditions
Push — master ( dbaf44...bfd3f9 )
by Jakub
03:46
created
src/TestCase/TestDoubles.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.