@@ -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; |
@@ -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) |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | * The name of the Extension Class minus the extension prefix. |
| 325 | 325 | * @param string $file_version |
| 326 | 326 | * The version of the extension from the **file**, not the Database. |
| 327 | - * @return string|boolean |
|
| 327 | + * @return false|string |
|
| 328 | 328 | * If the given extension (by $name) requires updating, the installed |
| 329 | 329 | * version is returned, otherwise, if the extension doesn't require |
| 330 | 330 | * updating, false. |
@@ -572,7 +572,7 @@ discard block |
||
| 572 | 572 | * An extension object |
| 573 | 573 | * @throws SymphonyErrorPage |
| 574 | 574 | * @throws Exception |
| 575 | - * @return boolean |
|
| 575 | + * @return boolean|null |
|
| 576 | 576 | */ |
| 577 | 577 | private static function __canUninstallOrDisable(Extension $obj) |
| 578 | 578 | { |
@@ -287,7 +287,7 @@ |
||
| 287 | 287 | * it is also possible to override the default filters on the resulting string. |
| 288 | 288 | * |
| 289 | 289 | * @link http://php.net/manual/en/filter.filters.php |
| 290 | - * @param array $exclude |
|
| 290 | + * @param string[] $exclude |
|
| 291 | 291 | * A simple array with the keys that should be omitted in the resulting |
| 292 | 292 | * query string. |
| 293 | 293 | * @param integer $filters |
@@ -537,7 +537,7 @@ |
||
| 537 | 537 | * @since Symphony 2.3 |
| 538 | 538 | * @param string $string |
| 539 | 539 | * The string that should be cleaned-up |
| 540 | - * @return mixed |
|
| 540 | + * @return string |
|
| 541 | 541 | * Returns the transliterated string |
| 542 | 542 | */ |
| 543 | 543 | private static function applyTransliterations($string) |