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 11, 2023
1 parent 9162bea commit 318aa82
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 318aa82

Please sign in to comment.