@@ -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; |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | * Initialises a new Session instance using this cookie's params |
| 121 | 121 | * |
| 122 | 122 | * @throws Exception |
| 123 | - * @return Session |
|
| 123 | + * @return false|string |
|
| 124 | 124 | */ |
| 125 | 125 | private function __init() |
| 126 | 126 | { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * @param boolean $append |
| 194 | 194 | * If set to true, the given `$message` will be append to the previous log |
| 195 | 195 | * message found in the `$_log` array |
| 196 | - * @return mixed |
|
| 196 | + * @return boolean|null |
|
| 197 | 197 | * If `$writeToLog` is passed, this function will return boolean, otherwise |
| 198 | 198 | * void |
| 199 | 199 | */ |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | * @param boolean $append |
| 252 | 252 | * If set to true, the given `$message` will be append to the previous log |
| 253 | 253 | * message found in the `$_log` array |
| 254 | - * @return mixed |
|
| 254 | + * @return boolean|null |
|
| 255 | 255 | * If `$writeToLog` is passed, this function will return boolean, otherwise |
| 256 | 256 | * void |
| 257 | 257 | */ |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * Whether this cookie should only be sent on secure servers. By default this is |
| 47 | 47 | * false, which means the cookie can be sent over HTTP and HTTPS |
| 48 | 48 | * @throws Exception |
| 49 | - * @return string|boolean |
|
| 49 | + * @return false|string |
|
| 50 | 50 | * Returns the Session ID on success, or false on error. |
| 51 | 51 | */ |
| 52 | 52 | public static function start($lifetime = 0, $path = '/', $domain = null, $httpOnly = true, $secure = false) |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * edit an event but it's `allowEditorToParse()` returns `false`. If this is not implemented by |
| 88 | 88 | * the event, a default Symphony message will appear. |
| 89 | 89 | * |
| 90 | - * @return string|XMLElement |
|
| 90 | + * @return string |
|
| 91 | 91 | */ |
| 92 | 92 | public static function documentation() |
| 93 | 93 | { |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * |
| 103 | 103 | * @param string $language |
| 104 | 104 | * Language used in system |
| 105 | - * @return mixed |
|
| 105 | + * @return string|false |
|
| 106 | 106 | * String, which is the path to the template if the template is found, |
| 107 | 107 | * false otherwise |
| 108 | 108 | */ |
@@ -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 | { |
@@ -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) |