Skip to content

Commit

Permalink
Merge pull request #456 from GromNaN/phpdoc-see
Browse files Browse the repository at this point in the history
Reference classes using current namespace in `@see` phpdoc
  • Loading branch information
greg0ire authored Dec 14, 2023
2 parents eb3667b + 7ea8e33 commit 4007b25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/AbstractFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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<T>|null $class
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Sorter/Vertex.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4007b25

Please sign in to comment.