Strict Standards: Declaration of childClass::customMethod() should be compatible with that of parentClass::customMethod()
Что такое возможные причины этой ошибки в PHP? Где я могу найти информацию о том, что это означает быть совместимым?
childClass::customMethod()
имеет другие аргументы или другой уровень доступа (public/private/protected), чем parentClass::customMethod()
.