[TOOLS] Fix all level 0 errors found by PHPStan and move constant definition to bootstrap file
This commit is contained in:
@@ -35,7 +35,8 @@ class Favourite
|
||||
'where f.gsactor_id = :id ' .
|
||||
'order by f.created DESC', ['id' => $actor_id]);
|
||||
|
||||
Event::handle('FormatNoteList', [$notes, &$note_out]);
|
||||
$notes_out = null;
|
||||
Event::handle('FormatNoteList', [$notes, &$notes_out]);
|
||||
|
||||
return [
|
||||
'_template' => 'network/public.html.twig',
|
||||
@@ -62,6 +63,7 @@ class Favourite
|
||||
'order by f.created DESC' ,
|
||||
['id' => $actor_id]);
|
||||
|
||||
$notes_out = null;
|
||||
Event::handle('FormatNoteList', [$notes, &$notes_out]);
|
||||
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user