Dear partner,
Both parameters are optional parameters as you can see.
But i will change the order of the parameters According to the php conventions (as you say),
so optional 'null' parameter will be first If that was your intention.