Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander M. Turek <me@derrabus.de>
  • Loading branch information
GromNaN and derrabus authored Dec 14, 2023
1 parent ecd9e98 commit 19763cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AbstractFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private function getReferenceRepository(): ReferenceRepository
*
* @return void
*/
public function setReference(string $name, $object)
public function setReference(string $name, object $object)

Check warning on line 52 in src/AbstractFixture.php

View check run for this annotation

Codecov / codecov/patch

src/AbstractFixture.php#L52

Added line #L52 was not covered by tests
{
$this->getReferenceRepository()->setReference($name, $object);
}
Expand Down Expand Up @@ -106,7 +106,7 @@ public function getReference(string $name, ?string $class = null)
*
* @see Doctrine\Common\DataFixtures\ReferenceRepository::hasReference
*
* @psalm-param class-string $class
* @psalm-param class-string|null $class
*
* @return bool
*/
Expand Down

0 comments on commit 19763cd

Please sign in to comment.