@@ -71,6 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * Overrides the default `initialiseLog()` method and writes |
73 | 73 | * logs to manifest/logs/install |
74 | + * @param string $filename |
|
74 | 75 | */ |
75 | 76 | public static function initialiseLog($filename = null) |
76 | 77 | { |
@@ -383,6 +384,8 @@ discard block |
||
383 | 384 | * If something went wrong, the `__abort` function will write an entry to the Log |
384 | 385 | * file and display the failure page to the user. |
385 | 386 | * @todo: Resume installation after an error has been fixed. |
387 | + * @param string $message |
|
388 | + * @param integer $start |
|
386 | 389 | */ |
387 | 390 | protected static function __abort($message, $start) |
388 | 391 | { |
@@ -423,6 +423,9 @@ |
||
423 | 423 | $this->Form->appendChild($Submit); |
424 | 424 | } |
425 | 425 | |
426 | + /** |
|
427 | + * @param string $message |
|
428 | + */ |
|
426 | 429 | private function __appendError(array $codes, XMLElement &$element, $message = null) |
427 | 430 | { |
428 | 431 | if (is_null($message)) { |
@@ -6,6 +6,10 @@ |
||
6 | 6 | |
7 | 7 | class UpdaterPage extends InstallerPage |
8 | 8 | { |
9 | + |
|
10 | + /** |
|
11 | + * @param string $template |
|
12 | + */ |
|
9 | 13 | public function __construct($template, $params = array()) |
10 | 14 | { |
11 | 15 | parent::__construct($template, $params); |
@@ -65,6 +65,9 @@ discard block |
||
65 | 65 | return $association_id[0]; |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @param string $search |
|
70 | + */ |
|
68 | 71 | private function getStatic($field_id, $search = null) |
69 | 72 | { |
70 | 73 | $options = array(); |
@@ -88,6 +91,10 @@ discard block |
||
88 | 91 | } |
89 | 92 | } |
90 | 93 | |
94 | + /** |
|
95 | + * @param string $search |
|
96 | + * @param string $max |
|
97 | + */ |
|
91 | 98 | private function get($database, $field_id, $search, $max) |
92 | 99 | { |
93 | 100 | // Get entries |
@@ -1496,6 +1496,9 @@ discard block |
||
1496 | 1496 | $shell = str_replace($placeholder, trim($string), $shell); |
1497 | 1497 | } |
1498 | 1498 | |
1499 | + /** |
|
1500 | + * @param string $shell |
|
1501 | + */ |
|
1499 | 1502 | public static function injectAboutInformation(&$shell, array $details) |
1500 | 1503 | { |
1501 | 1504 | if (empty($details)) { |
@@ -1538,6 +1541,10 @@ discard block |
||
1538 | 1541 | $shell = str_replace($placeholder, trim($var_list) . PHP_EOL . " " . $placeholder, $shell); |
1539 | 1542 | } |
1540 | 1543 | |
1544 | + /** |
|
1545 | + * @param string $h4_label |
|
1546 | + * @param string $name |
|
1547 | + */ |
|
1541 | 1548 | public function __appendAuthorFilter(&$wrapper, $h4_label, $name, $value = null, $templateOnly = true) |
1542 | 1549 | { |
1543 | 1550 | if (!$templateOnly) { |
@@ -1617,7 +1624,7 @@ discard block |
||
1617 | 1624 | * |
1618 | 1625 | * @since Symphony 2.3.3 |
1619 | 1626 | * @param XMLElement $element |
1620 | - * @param array $context |
|
1627 | + * @param string[] $context |
|
1621 | 1628 | */ |
1622 | 1629 | public function setContext(&$element, $context) |
1623 | 1630 | { |
@@ -662,6 +662,9 @@ |
||
662 | 662 | $shell = str_replace('<!-- FILTERS -->', "'" . implode("'," . PHP_EOL . "\t\t\t\t'", $elements) . "'", $shell); |
663 | 663 | } |
664 | 664 | |
665 | + /** |
|
666 | + * @param string $shell |
|
667 | + */ |
|
665 | 668 | public function __injectAboutInformation(&$shell, $details) |
666 | 669 | { |
667 | 670 | if (!is_array($details) || empty($details)) { |
@@ -887,6 +887,9 @@ |
||
887 | 887 | } |
888 | 888 | } |
889 | 889 | |
890 | + /** |
|
891 | + * @param string $redirect |
|
892 | + */ |
|
890 | 893 | public function __actionDelete($pages, $redirect) |
891 | 894 | { |
892 | 895 | $success = true; |
@@ -117,6 +117,9 @@ discard block |
||
117 | 117 | $this->filteringForm->appendChild($div); |
118 | 118 | } |
119 | 119 | |
120 | + /** |
|
121 | + * @param XMLElement $wrapper |
|
122 | + */ |
|
120 | 123 | private function createFieldFilters(&$wrapper, $section) |
121 | 124 | { |
122 | 125 | $filters = $_GET['filter']; |
@@ -256,6 +259,9 @@ discard block |
||
256 | 259 | return $comparisons; |
257 | 260 | } |
258 | 261 | |
262 | + /** |
|
263 | + * @param XMLElement $wrapper |
|
264 | + */ |
|
259 | 265 | private function createFilterSuggestions(&$wrapper, $data) |
260 | 266 | { |
261 | 267 | $ul = new XMLElement('ul'); |
@@ -89,7 +89,7 @@ |
||
89 | 89 | * |
90 | 90 | * @param string $action (optional) |
91 | 91 | * @param integer $start_time (optional) |
92 | - * @return integer |
|
92 | + * @return double |
|
93 | 93 | */ |
94 | 94 | function precision_timer($action = 'start', $start_time = null) |
95 | 95 | { |