fix "Declaration should be compatible"

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

unicorn6684
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Feb 12, 2014 9:14 pm

fix "Declaration should be compatible"

Postby unicorn6684 » Wed Feb 12, 2014 9:19 pm

I get An error of:
Strict Standards: Declaration of Menu::GetAll() should be compatible

I know Why I have this error, the problem is fixing it..

I have different paramaters for the parent method and the child mehod,
but it's on purpose, so how can I fix the error without changing my methods?

Return to “PHP coding => General”

Who is online

Users browsing this forum: Baidu [Spider], Exabot [Bot] and 5 guests