Skip to content

Commit d6ebaef

Browse files
committed
Mark method that implements interface as such
1 parent 23da848 commit d6ebaef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Doctrine/Instantiator/Instantiator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Doctrine\Instantiator\Exception\InvalidArgumentException;
1010
use Doctrine\Instantiator\Exception\UnexpectedValueException;
1111
use Exception;
12+
use Override;
1213
use ReflectionClass;
1314
use ReflectionException;
1415
use Serializable;
@@ -55,6 +56,7 @@ final class Instantiator implements InstantiatorInterface
5556
*
5657
* @template T of object
5758
*/
59+
#[Override]
5860
public function instantiate(string $className): object
5961
{
6062
if (isset(self::$cachedCloneables[$className])) {

0 commit comments

Comments
 (0)