Skip to content

Commit 5ae2934

Browse files
CS fix - import FQCN
1 parent d21bcca commit 5ae2934

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

classes/PHPProphet.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Prophecy\Prophet;
88
use Prophecy\Prophecy\ProphecyInterface;
99
use Prophecy\Exception\Prediction\AggregateException;
10+
use ReflectionProperty;
1011

1112
/**
1213
* A Prophet for built-in PHP functions.
@@ -120,7 +121,7 @@ public static function define($namespace, $name)
120121
*/
121122
private static function getProperty(Prophet $prophet, $property)
122123
{
123-
$reflection = new \ReflectionProperty($prophet, $property);
124+
$reflection = new ReflectionProperty($prophet, $property);
124125
$reflection->setAccessible(true);
125126
return $reflection->getValue($prophet);
126127
}

0 commit comments

Comments
 (0)