Just add type to destroy arguments.

This commit is contained in:
Matias De lellis
2020-09-19 14:27:50 -03:00
parent d002d7cf1e
commit 10442c5117

View File

@@ -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);