Fix method phpDoc

With old declaration variable expectation failed
fine with me