1 | <?php |
||
28 | class IssueController extends Controller |
||
29 | { |
||
30 | use DispatchesJobs; |
||
31 | |||
32 | /** |
||
33 | * Stores the sub-sidebar tree list. |
||
34 | * |
||
35 | * @var array |
||
36 | */ |
||
37 | protected $subMenu = []; |
||
38 | |||
39 | /** |
||
40 | * Creates a new issue controller instance. |
||
41 | * |
||
42 | * @return \Gitamin\Http\Controllers\IssueController |
||
|
|||
43 | */ |
||
44 | public function __construct() |
||
58 | |||
59 | /** |
||
60 | * Shows the issues view. |
||
61 | * |
||
62 | * @return \Illuminate\View\View |
||
63 | */ |
||
64 | public function indexAction() |
||
72 | } |
||
73 |
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.