1 | <?php |
||
19 | class IssueController 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() |
||
49 | |||
50 | /** |
||
51 | * Shows the issues view. |
||
52 | * |
||
53 | * @return \Illuminate\View\View |
||
54 | */ |
||
55 | public function indexAction() |
||
63 | } |
||
64 |
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.