Fix phpspec #104

*Fix php specs about parameters passed invalid