Skip to content
Snippets Groups Projects
Commit eab39735 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction nécessaires pour passer à laminas

parent c9755ab2
Branches
Tags
No related merge requests found
Pipeline #10478 passed
......@@ -14,7 +14,7 @@ class UserHydrator extends ClassMethods
* @return array
* @throws Exception\InvalidArgumentException
*/
public function extract($object)
public function extract($object): array
{
if (!$object instanceof UserEntityInterface) {
throw new Exception\InvalidArgumentException('$object must be an instance of ZfcUser\Entity\UserInterface');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment