1 | <?php |
||
21 | class CensusOfCzechRepublic extends Census implements CensusPlaceInterface { |
||
22 | /** |
||
23 | * All available censuses for this census place. |
||
24 | * |
||
25 | * @return CensusInterface[] |
||
|
|||
26 | */ |
||
27 | public function allCensusDates() { |
||
28 | return array( |
||
29 | new CensusOfCzechRepublic1880(), |
||
30 | new CensusOfCzechRepublic1921(), |
||
31 | ); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Where did this census occur, in GEDCOM format. |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | public function censusPlace() { |
||
42 | } |
||
43 |
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.