Issues (84)

AssociationStandingsArchiveController.php (2 issues)

1
<?php
2
3
namespace App\Http\Controllers;
4
5
use Illuminate\Http\Request;
6
7
class AssociationStandingsArchiveController extends AssociationAwareController
8
{
9
10
    /**
11
     * Display the specified resource.
12
     *
13
     * @param  int  $id
14
     * @return \Illuminate\Http\Response
15
     */
16
    public function show()
17
    {
18
        return view(
0 ignored issues
show
Bug Best Practice introduced by
The expression return view('association...on->archivedSchedules)) returns the type Illuminate\View\View which is incompatible with the documented return type Illuminate\Http\Response.
Loading history...
19
            'association.standings.archive',
20
            [
21
                'association' => $this->association,
22
                'schedules' => $this->association->archivedSchedules,
0 ignored issues
show
The property archivedSchedules does not seem to exist on App\Association. Are you sure there is no database migration missing?

Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.

Loading history...
23
            ]
24
        );
25
    }
26
27
}
28