Avoid function mismatch php strict warning