mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 07:37:18 +01:00
Just add type to destroy arguments.
This commit is contained in:
@@ -375,7 +375,7 @@ class NoteService {
|
|||||||
* @param string $userId
|
* @param string $userId
|
||||||
* @param int $id
|
* @param int $id
|
||||||
*/
|
*/
|
||||||
public function destroy($userId, $id) {
|
public function destroy (string $userId, int $id) {
|
||||||
// Get Note and Color
|
// Get Note and Color
|
||||||
try {
|
try {
|
||||||
$note = $this->notemapper->find($id, $userId);
|
$note = $this->notemapper->find($id, $userId);
|
||||||
|
|||||||
Reference in New Issue
Block a user