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

thatjuan opened this Issue Dec 4, 2012 · 0 comments


None yet
1 participant

thatjuan commented Dec 4, 2012

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