Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference classes using current namespace in @see phpdoc #456

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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