mirror of
https://github.com/JanGross/quicknotes.git
synced 2026-12-01 02:17:00 +01:00
Add missing return types to controllers
This commit is contained in:
1 parent
7f81c13a15
commit
3de110ac02
3 files changed
+13
-3
No files matched your search
@@ -96,6 +96,8 @@ class NoteController extends Controller {
|
||||
* @param array $sharedWith
|
||||
* @param array $tags
|
||||
* @param array $attachments
|
||||
*
|
||||
* @return JSONResponse
|
||||
*/
|
||||
public function create(string $title,
|
||||
string $content,
|
||||
@@ -103,7 +105,7 @@ class NoteController extends Controller {
|
||||
bool $isPinned = false,
|
||||
array $sharedWith = [],
|
||||
array $tags = [],
|
||||
array $attachments = [])
|
||||
array $attachments = []): JSONResponse
|
||||
{
|
||||
$note = $this->noteService->create($this->userId,
|
||||
$title,
|
||||
|
||||
Reference in new issue
Block a user