[TOOLS] Fix all errors found by PHPStan level 1
This commit is contained in:
		@@ -47,11 +47,6 @@ class Note extends Controller
 | 
			
		||||
     */
 | 
			
		||||
    public function note_show(Request $request, int $id)
 | 
			
		||||
    {
 | 
			
		||||
        return $this->note($id, function ($note) use ($id) {
 | 
			
		||||
            return [
 | 
			
		||||
                '_template' => 'note/view.html.twig',
 | 
			
		||||
                'note'      => $note,
 | 
			
		||||
            ];
 | 
			
		||||
        });
 | 
			
		||||
        return $this->note($id, fn ($note) => ['_template' => 'note/view.html.twig', 'note' => $note]);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user