switch arguments order

This commit is contained in:
Thomas Rubini 2023-01-22 21:02:50 +01:00
parent 90fd668546
commit 24b2c1622c
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

View File

@ -10,7 +10,7 @@ final class ApprModel {
return $stmt->fetch();
}
public function createAppr($I_recipe_id, $I_user_id, $S_Comment, $I_score)
public function createAppr($I_user_id, $I_recipe_id, $S_Comment, $I_score)
{
$O_model = Model::get();
$stmt = $O_model->prepare("