0

There is a mistake here that I don't know

public function checkConfirmed($user = null, $username, $value)

Error:

Required parameter $username follows optional parameter $user

ADyson
  • 57,178
  • 14
  • 51
  • 63
moamen
  • 1
  • 1
    Either remove the `= null` from the `$user` parameter, or provide defaults for those other parameters – Chris Haas May 03 '23 at 21:20
  • `that I don't know`...well the error message tells you exactly what the problem is. Did you google that message to find out more? Is there something specific in the message that you don't understand? – ADyson May 04 '23 at 00:09

0 Answers0