FriendsOfSymfony/FOSUserBundle — Issue #471: Custom storage layer UserManager interface compatibility 
Author: ghrei
Created: 2012-01-02 15:03:39+00:00
State: open

Trying to implement a custom UserManager gives the following error:

>Fatal error: Declaration of Ghrei\TestuserBundle\Document\UserManager::deleteUser() must be compatible with that of FOS\UserBundle\Model\UserManagerInterface::deleteUser() in (...)/src/Ghrei/TestuserBundle/Document/UserManager.php on line 8

My goal is eventually to use PHPCR ODM and Jackalope for storage but at the moment I'm still setting up all the functions needed by the interface. As I just copied the functions and 'expanded' them from \Model\UserManagerInterface I believe my functions have the same input arguments as those defined in the interface, so I'm a bit lost as to what is wrong. Below is my code.

```php