When calling a function, it is nonsensical to assign the value of the parameter being passed to a variable within the function call, especially if that variable isn't used anywhere else.
This is just not a thing in PHP.
Looking at the code, it looks like this was done to document what the parameters meant.
With that in mind, I've kept the variable assignments, but moved them out of the function call.
Alternatively, the meaning of the passed parameters could just be documented via inline trailing // [TYPE] message. comments.
When calling a function, it is nonsensical to assign the value of the parameter being passed to a variable within the function call, especially if that variable isn't used anywhere else.
This is just not a thing in PHP.
Looking at the code, it looks like this was done to document what the parameters meant. With that in mind, I've kept the variable assignments, but moved them out of the function call.
Alternatively, the meaning of the passed parameters could just be documented via inline trailing
// [TYPE] message.
comments.