From 7ea8e33d0d77d619e2159b8020795a22034b2abf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 14 Dec 2023 19:18:55 +0100 Subject: [PATCH] Reference classes using current namespace in @see phpdoc --- src/AbstractFixture.php | 8 ++++---- src/Sorter/Vertex.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/AbstractFixture.php b/src/AbstractFixture.php index 8de1e971..4e716002 100644 --- a/src/AbstractFixture.php +++ b/src/AbstractFixture.php @@ -43,7 +43,7 @@ private function getReferenceRepository(): ReferenceRepository * and referenced to managed $object. If $name * already is set, it overrides it * - * @see Doctrine\Common\DataFixtures\ReferenceRepository::setReference + * @see ReferenceRepository::setReference() * * @param string $name * @param object $object - managed object @@ -61,7 +61,7 @@ public function setReference($name, $object) * already is set, it throws a * BadMethodCallException exception * - * @see Doctrine\Common\DataFixtures\ReferenceRepository::addReference + * @see ReferenceRepository::addReference() * * @param string $name * @param object $object - managed object @@ -79,7 +79,7 @@ public function addReference($name, $object) * Loads an object using stored reference * named by $name * - * @see Doctrine\Common\DataFixtures\ReferenceRepository::getReference + * @see ReferenceRepository::getReference() * * @param string $name * @psalm-param class-string|null $class @@ -107,7 +107,7 @@ public function getReference($name, ?string $class = null) * Check if an object is stored using reference * named by $name * - * @see Doctrine\Common\DataFixtures\ReferenceRepository::hasReference + * @see ReferenceRepository::hasReference() * * @param string $name * @psalm-param class-string $class diff --git a/src/Sorter/Vertex.php b/src/Sorter/Vertex.php index afdd30b8..fd11cdb4 100644 --- a/src/Sorter/Vertex.php +++ b/src/Sorter/Vertex.php @@ -9,7 +9,7 @@ /** * @internal this class is to be used only by data-fixtures internals: do not * rely on it in your own libraries/applications. This class is - * designed to work with {@see \Doctrine\Common\DataFixtures\Sorter\TopologicalSorter} + * designed to work with {@see TopologicalSorter} * only. */ class Vertex