@@ -37,7 +37,7 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * Returns a list of block parsers to add to the existing list |
| 39 | 39 | * |
| 40 | - * @return BlockParserInterface[] |
|
| 40 | + * @return CensusTableParser[] |
|
| 41 | 41 | */ |
| 42 | 42 | public function getBlockParsers() { |
| 43 | 43 | return [ |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | - * @return array |
|
| 38 | + * @return XrefParser[] |
|
| 39 | 39 | */ |
| 40 | 40 | public function getInlineParsers() { |
| 41 | 41 | return [ |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * We are only interested in text that begins with '@'. |
| 40 | 40 | * |
| 41 | - * @return array |
|
| 41 | + * @return string[] |
|
| 42 | 42 | */ |
| 43 | 43 | public function getCharacters() { |
| 44 | 44 | return ['@']; |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | /** |
| 180 | 180 | * Log an exception/throwable |
| 181 | 181 | * |
| 182 | - * @param Throwable $throwable |
|
| 182 | + * @param \Exception $throwable |
|
| 183 | 183 | */ |
| 184 | 184 | public static function addThrowable(Throwable $throwable) { |
| 185 | 185 | if (self::$debugbar !== null) { |
@@ -190,7 +190,6 @@ discard block |
||
| 190 | 190 | /** |
| 191 | 191 | * Log an exception/throwable |
| 192 | 192 | * |
| 193 | - * @param Throwable $throwable |
|
| 194 | 193 | */ |
| 195 | 194 | public static function addView(string $view, array $data) { |
| 196 | 195 | if (self::$debugbar !== null) { |
@@ -492,7 +492,7 @@ |
||
| 492 | 492 | * Take a list of block names, and return block (module) objects. |
| 493 | 493 | * |
| 494 | 494 | * @param string[] $blocks |
| 495 | - * @param array $active_blocks |
|
| 495 | + * @param ModuleBlockInterface[] $active_blocks |
|
| 496 | 496 | * |
| 497 | 497 | * @return ModuleBlockInterface[] |
| 498 | 498 | */ |
@@ -248,7 +248,7 @@ |
||
| 248 | 248 | /** |
| 249 | 249 | * Create a new image object from Media Object - ReportPdf |
| 250 | 250 | * |
| 251 | - * @param MediaFile $mediafile |
|
| 251 | + * @param MediaFile $media_file |
|
| 252 | 252 | * @param mixed $x |
| 253 | 253 | * @param mixed $y |
| 254 | 254 | * @param int $w Image width |
@@ -69,6 +69,7 @@ discard block |
||
| 69 | 69 | /** |
| 70 | 70 | * Allow themes to do things after initialization (since they cannot use |
| 71 | 71 | * the constructor). |
| 72 | + * @return void |
|
| 72 | 73 | */ |
| 73 | 74 | public function hookAfterInit(); |
| 74 | 75 | |
@@ -160,6 +161,7 @@ discard block |
||
| 160 | 161 | * happens in a theme file, and we need to be able to change it. |
| 161 | 162 | * |
| 162 | 163 | * @param Tree|null $tree The current tree (if there is one). |
| 164 | + * @return void |
|
| 163 | 165 | */ |
| 164 | 166 | public function init(Tree $tree = null); |
| 165 | 167 | |
@@ -184,12 +186,13 @@ discard block |
||
| 184 | 186 | * |
| 185 | 187 | * @param string $parameter_name |
| 186 | 188 | * |
| 187 | - * @return string|int|float |
|
| 189 | + * @return string |
|
| 188 | 190 | */ |
| 189 | 191 | public function parameter($parameter_name); |
| 190 | 192 | |
| 191 | 193 | /** |
| 192 | 194 | * Send any HTTP headers. |
| 195 | + * @return void |
|
| 193 | 196 | */ |
| 194 | 197 | public function sendHeaders(); |
| 195 | 198 | |
@@ -478,7 +478,7 @@ |
||
| 478 | 478 | * Print a new fact box on details pages |
| 479 | 479 | * |
| 480 | 480 | * @param string $id the id of the person, family, source etc the fact will be added to |
| 481 | - * @param array $usedfacts an array of facts already used in this record |
|
| 481 | + * @param Fact[] $usedfacts an array of facts already used in this record |
|
| 482 | 482 | * @param string $type the type of record INDI, FAM, SOUR etc |
| 483 | 483 | */ |
| 484 | 484 | public static function printAddNewFact($id, $usedfacts, $type) { |
@@ -460,7 +460,7 @@ |
||
| 460 | 460 | * |
| 461 | 461 | * @param string $name |
| 462 | 462 | * @param mixed[] $data |
| 463 | - * @param int $atatus |
|
| 463 | + * @param int $status |
|
| 464 | 464 | * |
| 465 | 465 | * @return Response |
| 466 | 466 | */ |