mirror of
https://github.com/JanGross/quicknotes.git
synced 2026-12-01 02:17:00 +01:00
Just add type to destroy arguments.
This commit is contained in:
1 parent
d002d7cf1e
commit
10442c5117
1 file changed
+1
-1
@@ -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