FriendsOfSymfony/FOSOAuthServerBundle — Issue #14: ClientInterface is too restrictive (problem with Propel)
Author: bclozel
Created: 2012-02-24 13:39:48+00:00
State: open

I know this bundle is under heavy work right now; I'm just toying with it + Propel.

The `FOS\OAuthServerBundle\Model\ClientInterface` has typed arguments in method declarations:

function setRedirectUris(array $redirectUris);
function setAllowedGrantTypes(array $grantTypes);

When generating model classes with Propel, implementations in generated classes miss those types:

function setRedirectUris($redirectUris);
function setAllowedGrantTypes($grantTypes);

In that case, the classloader reports this error - Propel's implementation doesn't match its interface.
Is it ok to remove those types for compatibility's sake?

Or should I report this issue to propelorm?
(ping @willdurand )