From 10442c5117c1e2fde9aec785a2baf83c236d23fc Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Sat, 19 Sep 2020 14:27:50 -0300 Subject: [PATCH] Just add type to destroy arguments. --- lib/Service/NoteService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/NoteService.php b/lib/Service/NoteService.php index 43f1af6..f47eba4 100644 --- a/lib/Service/NoteService.php +++ b/lib/Service/NoteService.php @@ -375,7 +375,7 @@ class NoteService { * @param string $userId * @param int $id */ - public function destroy($userId, $id) { + public function destroy (string $userId, int $id) { // Get Note and Color try { $note = $this->notemapper->find($id, $userId);