Skip to content

Commit

Permalink
Remove unused exception
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Oct 10, 2023
1 parent cfc40de commit 7c1adbf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/Doctrine/ORM/Query/QueryException.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,6 @@ public static function iterateWithFetchJoinCollectionNotAllowed(AssociationMappi
);
}

public static function partialObjectsAreDangerous(): self
{
return new self(
'Loading partial objects is dangerous. Fetch full objects or consider ' .
'using a different fetch mode. If you really want partial objects, ' .
'set the doctrine.forcePartialLoad query hint to TRUE.',
);
}

/**
* @param string[] $assoc
* @psalm-param array<string, string> $assoc
Expand Down

0 comments on commit 7c1adbf

Please sign in to comment.