@@ -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 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * |
58 | 58 | * @param string $data |
59 | 59 | * The data to compress |
60 | - * @return string|boolean |
|
60 | + * @return false|string |
|
61 | 61 | * The compressed data, or false if an error occurred |
62 | 62 | */ |
63 | 63 | public static function compressData($data) |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * |
76 | 76 | * @param string $data |
77 | 77 | * The data to decompress |
78 | - * @return string|boolean |
|
78 | + * @return false|string |
|
79 | 79 | * The decompressed data, or false if an error occurred |
80 | 80 | */ |
81 | 81 | public static function decompressData($data) |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * |
124 | 124 | * @since Symphony 2.2.4 |
125 | 125 | * @param string $name |
126 | - * @return array|string|null |
|
126 | + * @return string |
|
127 | 127 | * If `$name` is omitted this function returns array. |
128 | 128 | * If `$name` is not set, this fucntion returns `null` |
129 | 129 | * If `$name` is set, this function returns string |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | * Localizes the output, if true, defaults to true |
260 | 260 | * @param string $timezone (optional) |
261 | 261 | * The timezone associated with the timestamp |
262 | - * @return string|boolean |
|
262 | + * @return false|string |
|
263 | 263 | * The formatted date, or if the date could not be parsed, false. |
264 | 264 | */ |
265 | 265 | public static function format($string = 'now', $format = DateTime::ISO8601, $localize = true, $timezone = null) |
@@ -567,7 +567,7 @@ discard block |
||
567 | 567 | * result in the current time being used |
568 | 568 | * @param string $timezone (optional) |
569 | 569 | * The timezone associated with the timestamp |
570 | - * @return string|boolean |
|
570 | + * @return false|string |
|
571 | 571 | * The formatted date, of if the date could not be parsed, false. |
572 | 572 | */ |
573 | 573 | public static function get($format, $timestamp = 'now', $timezone = null) |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * @param array $fields |
29 | 29 | * Associative array of field names => values for the Author object |
30 | 30 | * @throws DatabaseException |
31 | - * @return integer|boolean |
|
31 | + * @return false|string |
|
32 | 32 | * Returns an Author ID of the created Author on success, false otherwise. |
33 | 33 | */ |
34 | 34 | public static function add(array $fields) |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * This array does need to contain every value for the author object, it |
54 | 54 | * can just be the changed values. |
55 | 55 | * @throws DatabaseException |
56 | - * @return boolean |
|
56 | + * @return PDOStatement |
|
57 | 57 | */ |
58 | 58 | public static function edit($id, array $fields) |
59 | 59 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * @param integer $id |
67 | 67 | * The ID of the Author that should be deleted |
68 | 68 | * @throws DatabaseException |
69 | - * @return boolean |
|
69 | + * @return PDOStatement |
|
70 | 70 | */ |
71 | 71 | public static function delete($id) |
72 | 72 | { |