Upgrade to Laravel 10
This commit is contained in:
parent
c4d7dc31d5
commit
16b120bc73
142 changed files with 1676 additions and 2019 deletions
|
@ -96,10 +96,8 @@ class FeedsController extends Controller
|
|||
|
||||
/**
|
||||
* Returns the notes JSON feed.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function notesJson()
|
||||
public function notesJson(): array
|
||||
{
|
||||
$notes = Note::latest()->with('media')->take(20)->get();
|
||||
$data = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue