We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec944fb commit 3dd7dd7Copy full SHA for 3dd7dd7
src/Memio/SpecGen/Marshaller/Service/TypeGuesser.php
@@ -11,6 +11,7 @@
11
12
namespace Memio\SpecGen\Marshaller\Service;
13
14
+use Prophecy\Doubler\DoubleInterface;
15
use Prophecy\Doubler\Generator\ReflectionInterface;
16
use Prophecy\Prophecy\ProphecySubjectInterface;
17
@@ -25,6 +26,7 @@ public function guess($variable): string
25
26
return $this->getNonObjectType($variable);
27
}
28
$interfaces = class_implements($variable);
29
+ unset($interfaces[DoubleInterface::class]);
30
unset($interfaces[ProphecySubjectInterface::class]);
31
unset($interfaces[ReflectionInterface::class]);
32
$interface = current($interfaces);
0 commit comments