From 24b2c1622cc726afef4c15bfc942864fedb87f49 Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Sun, 22 Jan 2023 21:02:50 +0100 Subject: [PATCH] switch arguments order --- Models/ApprModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/ApprModel.php b/Models/ApprModel.php index 8c46c27..708c044 100644 --- a/Models/ApprModel.php +++ b/Models/ApprModel.php @@ -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("