mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Just add type to destroy arguments.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user