1 | <?php |
||
16 | class SeriesNavigation extends ComponentAbstract |
||
17 | { |
||
18 | const NAME = 'seriesNavigation'; |
||
19 | |||
20 | /** |
||
21 | * @var Series |
||
22 | */ |
||
23 | public $series; |
||
24 | |||
25 | /** |
||
26 | * Post slug |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | public $slug; |
||
31 | |||
32 | /** |
||
33 | * @var int |
||
34 | */ |
||
35 | public $smallNav; |
||
36 | |||
37 | /** |
||
38 | * Reference to the page name for linking to posts |
||
39 | * |
||
40 | * @var string |
||
41 | */ |
||
42 | public $postPage; |
||
43 | |||
44 | /** |
||
45 | * Reference to the page name for linking to series |
||
46 | * |
||
47 | * @var string |
||
48 | */ |
||
49 | public $seriesPage; |
||
50 | |||
51 | /** |
||
52 | * @return array |
||
|
|||
53 | */ |
||
54 | public function componentDetails() |
||
61 | |||
62 | /** |
||
63 | * @return array |
||
64 | */ |
||
65 | public function defineProperties() |
||
90 | |||
91 | /** |
||
92 | * @return mixed |
||
93 | */ |
||
94 | public function getPostPageOptions() |
||
98 | |||
99 | /** |
||
100 | * @return mixed |
||
101 | */ |
||
102 | public function getSeriesPageOptions() |
||
106 | |||
107 | /** |
||
108 | * @return void |
||
109 | */ |
||
110 | public function onRun() |
||
117 | |||
118 | /** |
||
119 | * Get Series |
||
120 | * |
||
121 | * @return mixed |
||
122 | */ |
||
123 | protected function listSeries() |
||
150 | } |
||
151 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.