@@ -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); |
@@ -72,7 +72,7 @@ |
||
72 | 72 | * Overrides the default `initialiseLog()` method and writes |
73 | 73 | * logs to manifest/logs/install |
74 | 74 | * |
75 | - * @param null $filename |
|
75 | + * @param string $filename |
|
76 | 76 | * @return boolean|void |
77 | 77 | * @throws Exception |
78 | 78 | */ |
@@ -48,6 +48,10 @@ discard block |
||
48 | 48 | return $this->_Result; |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param string $search |
|
53 | + * @param string $max |
|
54 | + */ |
|
51 | 55 | private function get($database, $field_id, $search, $max) |
52 | 56 | { |
53 | 57 | // Get entries |
@@ -139,6 +143,9 @@ discard block |
||
139 | 143 | return $association_id[0]; |
140 | 144 | } |
141 | 145 | |
146 | + /** |
|
147 | + * @param string $search |
|
148 | + */ |
|
142 | 149 | private function getStatic($field_id, $search = null) |
143 | 150 | { |
144 | 151 | $options = array(); |
@@ -1191,7 +1191,7 @@ discard block |
||
1191 | 1191 | * |
1192 | 1192 | * @since Symphony 2.3.3 |
1193 | 1193 | * @param XMLElement $element |
1194 | - * @param array $context |
|
1194 | + * @param string[] $context |
|
1195 | 1195 | */ |
1196 | 1196 | public function setContext(&$element, $context) |
1197 | 1197 | { |
@@ -1199,6 +1199,10 @@ discard block |
||
1199 | 1199 | $element->setAttribute('data-context', implode(' ', (array)$context)); |
1200 | 1200 | } |
1201 | 1201 | |
1202 | + /** |
|
1203 | + * @param string $h4_label |
|
1204 | + * @param string $name |
|
1205 | + */ |
|
1202 | 1206 | public function __appendAuthorFilter(&$wrapper, $h4_label, $name, $value = null, $templateOnly = true) |
1203 | 1207 | { |
1204 | 1208 | if (!$templateOnly) { |
@@ -1740,6 +1744,9 @@ discard block |
||
1740 | 1744 | return (bool)preg_match('/^\{\$[\w-]+(.[\w]+(-[\w]+)?){0,1}\}|[\d]+$/', $string); |
1741 | 1745 | } |
1742 | 1746 | |
1747 | + /** |
|
1748 | + * @param string $shell |
|
1749 | + */ |
|
1743 | 1750 | public static function injectAboutInformation(&$shell, array $details) |
1744 | 1751 | { |
1745 | 1752 | if (empty($details)) { |
@@ -653,6 +653,9 @@ |
||
653 | 653 | } |
654 | 654 | } |
655 | 655 | |
656 | + /** |
|
657 | + * @param string $shell |
|
658 | + */ |
|
656 | 659 | public function __injectAboutInformation(&$shell, $details) |
657 | 660 | { |
658 | 661 | if (!is_array($details) || empty($details)) { |
@@ -609,6 +609,9 @@ |
||
609 | 609 | } |
610 | 610 | } |
611 | 611 | |
612 | + /** |
|
613 | + * @param string $redirect |
|
614 | + */ |
|
612 | 615 | public function __actionDelete($pages, $redirect) |
613 | 616 | { |
614 | 617 | $success = true; |
@@ -695,6 +695,9 @@ discard block |
||
695 | 695 | return $this->filteringForm; |
696 | 696 | } |
697 | 697 | |
698 | + /** |
|
699 | + * @param Section $section |
|
700 | + */ |
|
698 | 701 | public function createFilteringDuplicator($section) |
699 | 702 | { |
700 | 703 | $div = new XMLElement('div'); |
@@ -713,6 +716,9 @@ discard block |
||
713 | 716 | $this->filteringForm->appendChild($div); |
714 | 717 | } |
715 | 718 | |
719 | + /** |
|
720 | + * @param XMLElement $wrapper |
|
721 | + */ |
|
716 | 722 | private function createFieldFilters(&$wrapper, $section) |
717 | 723 | { |
718 | 724 | $filters = $_GET['filter']; |
@@ -825,6 +831,9 @@ discard block |
||
825 | 831 | $wrapper->appendChild($li); |
826 | 832 | } |
827 | 833 | |
834 | + /** |
|
835 | + * @param XMLElement $wrapper |
|
836 | + */ |
|
828 | 837 | private function createFilterSuggestions(&$wrapper, $data) |
829 | 838 | { |
830 | 839 | $ul = new XMLElement('ul'); |
@@ -86,7 +86,7 @@ |
||
86 | 86 | * |
87 | 87 | * @param string $action (optional) |
88 | 88 | * @param integer $start_time (optional) |
89 | - * @return integer |
|
89 | + * @return double |
|
90 | 90 | */ |
91 | 91 | function precision_timer($action = 'start', $start_time = null) |
92 | 92 | { |