@@ -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; |
@@ -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 | { |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * |
| 135 | 135 | * @param string $data |
| 136 | 136 | * The data to compress |
| 137 | - * @return string|boolean |
|
| 137 | + * @return false|string |
|
| 138 | 138 | * The compressed data, or false if an error occurred |
| 139 | 139 | */ |
| 140 | 140 | public static function compressData($data) |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | * |
| 153 | 153 | * @param string $data |
| 154 | 154 | * The data to decompress |
| 155 | - * @return string|boolean |
|
| 155 | + * @return false|string |
|
| 156 | 156 | * The decompressed data, or false if an error occurred |
| 157 | 157 | */ |
| 158 | 158 | public static function decompressData($data) |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | * |
| 108 | 108 | * @since Symphony 2.2.4 |
| 109 | 109 | * @param string $name |
| 110 | - * @return array|string|null |
|
| 110 | + * @return string |
|
| 111 | 111 | * If `$name` is omitted this function returns array. |
| 112 | 112 | * If `$name` is not set, this fucntion returns `null` |
| 113 | 113 | * If `$name` is set, this function returns string |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | * result in the current time being used |
| 192 | 192 | * @param string $timezone (optional) |
| 193 | 193 | * The timezone associated with the timestamp |
| 194 | - * @return string|boolean |
|
| 194 | + * @return false|string |
|
| 195 | 195 | * The formatted date, of if the date could not be parsed, false. |
| 196 | 196 | */ |
| 197 | 197 | public static function get($format, $timestamp = 'now', $timezone = null) |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | * Localizes the output, if true, defaults to true |
| 214 | 214 | * @param string $timezone (optional) |
| 215 | 215 | * The timezone associated with the timestamp |
| 216 | - * @return string|boolean |
|
| 216 | + * @return false|string |
|
| 217 | 217 | * The formatted date, or if the date could not be parsed, false. |
| 218 | 218 | */ |
| 219 | 219 | public static function format($string = 'now', $format = DateTime::ISO8601, $localize = true, $timezone = null) |