Skip to content


Declaration of BaseA::toArray() doesn't match BaseB::toArray() when using concrete inheritance #525

thatjuan opened this Issue · 0 comments

1 participant


I have two models A and B. B extends A via concrete inheritance. A has foreign keys to other object's in its schema but B does not.

It appears that the generator will add $includeForeignObjects = false to A's declaration but not to B; Since B doesn't have any foreign objects.

This generates a php strict warning: PHP Strict Standards: Declaration of B::toArray() should be compatible with that of A::toArray().

Using Propel @da71e39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.