1 | <?php |
||
19 | class IssuesController extends Controller |
||
20 | { |
||
21 | use DispatchesJobs; |
||
22 | |||
23 | /** |
||
24 | * Stores the sub-sidebar tree list. |
||
25 | * |
||
26 | * @var array |
||
27 | */ |
||
28 | protected $subMenu = []; |
||
29 | |||
30 | /** |
||
31 | * Creates a new issue controller instance. |
||
32 | * |
||
33 | * @return \Gitamin\Http\Controllers\IssueController |
||
|
|||
34 | */ |
||
35 | public function __construct() |
||
61 | |||
62 | /** |
||
63 | * Shows the issues view. |
||
64 | * |
||
65 | * @return \Illuminate\View\View |
||
66 | */ |
||
67 | public function indexAction() |
||
75 | } |
||
76 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.