Commit eab39735 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction nécessaires pour passer à laminas

parent c9755ab2
Pipeline #10478 passed with stage
in 21 seconds
...@@ -14,7 +14,7 @@ class UserHydrator extends ClassMethods ...@@ -14,7 +14,7 @@ class UserHydrator extends ClassMethods
* @return array * @return array
* @throws Exception\InvalidArgumentException * @throws Exception\InvalidArgumentException
*/ */
public function extract($object) public function extract($object): array
{ {
if (!$object instanceof UserEntityInterface) { if (!$object instanceof UserEntityInterface) {
throw new Exception\InvalidArgumentException('$object must be an instance of ZfcUser\Entity\UserInterface'); throw new Exception\InvalidArgumentException('$object must be an instance of ZfcUser\Entity\UserInterface');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment