@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * @param string $message |
133 | 133 | * @throws SMTPException |
134 | 134 | * @throws Exception |
135 | - * @return boolean |
|
135 | + * @return boolean|null |
|
136 | 136 | */ |
137 | 137 | public function sendMail($from, $to, $subject, $message) |
138 | 138 | { |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | * |
396 | 396 | * @param string $request |
397 | 397 | * @throws SMTPException |
398 | - * @return boolean|integer number of characters written. |
|
398 | + * @return integer number of characters written. |
|
399 | 399 | */ |
400 | 400 | protected function _send($request) |
401 | 401 | { |
@@ -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 | */ |
@@ -127,6 +127,9 @@ discard block |
||
127 | 127 | return $this->filteringForm; |
128 | 128 | } |
129 | 129 | |
130 | + /** |
|
131 | + * @param Section $section |
|
132 | + */ |
|
130 | 133 | public function createFilteringDuplicator($section) |
131 | 134 | { |
132 | 135 | $div = new XMLElement('div'); |
@@ -145,6 +148,9 @@ discard block |
||
145 | 148 | $this->filteringForm->appendChild($div); |
146 | 149 | } |
147 | 150 | |
151 | + /** |
|
152 | + * @param XMLElement $wrapper |
|
153 | + */ |
|
148 | 154 | private function createFieldFilters(&$wrapper, $section) |
149 | 155 | { |
150 | 156 | $filters = $_GET['filter']; |
@@ -284,6 +290,9 @@ discard block |
||
284 | 290 | return $comparisons; |
285 | 291 | } |
286 | 292 | |
293 | + /** |
|
294 | + * @param XMLElement $wrapper |
|
295 | + */ |
|
287 | 296 | private function createFilterSuggestions(&$wrapper, $data) |
288 | 297 | { |
289 | 298 | $ul = new XMLElement('ul'); |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | * Accessor for the current `$Flash` instance. |
376 | 376 | * |
377 | 377 | * @since 3.0.0 |
378 | - * @return SessionFlash |
|
378 | + * @return Session |
|
379 | 379 | */ |
380 | 380 | public static function Flash() |
381 | 381 | { |
@@ -410,7 +410,7 @@ discard block |
||
410 | 410 | * @param Boolean $force (optional) |
411 | 411 | * When set to true, this function will always create a new |
412 | 412 | * instance of ExtensionManager, replacing self::$ExtensionManager. |
413 | - * @return void |
|
413 | + * @return boolean|null |
|
414 | 414 | */ |
415 | 415 | public static function initialiseExtensionManager($force=false) |
416 | 416 | { |
@@ -759,7 +759,7 @@ discard block |
||
759 | 759 | * This methods sets the `GenericExceptionHandler::$enabled` value to `true`. |
760 | 760 | * |
761 | 761 | * @see core.SymphonyErrorPage |
762 | - * @param string|XMLElement $message |
|
762 | + * @param string $message |
|
763 | 763 | * A description for this error, which can be provided as a string |
764 | 764 | * or as an XMLElement. |
765 | 765 | * @param string $heading |
@@ -798,7 +798,7 @@ discard block |
||
798 | 798 | * Accessor for `self::$exception`. |
799 | 799 | * |
800 | 800 | * @since Symphony 2.3.2 |
801 | - * @return Exception|null |
|
801 | + * @return Exception |
|
802 | 802 | */ |
803 | 803 | public static function getException() |
804 | 804 | { |
@@ -1017,7 +1017,7 @@ discard block |
||
1017 | 1017 | * is not found, `false` is returned |
1018 | 1018 | * |
1019 | 1019 | * @since Symphony 2.3 |
1020 | - * @return mixed |
|
1020 | + * @return string|false |
|
1021 | 1021 | * String, which is the path to the template if the template is found, |
1022 | 1022 | * false otherwise |
1023 | 1023 | */ |
@@ -184,7 +184,7 @@ |
||
184 | 184 | * |
185 | 185 | * @param string $handle |
186 | 186 | * The handle of the section |
187 | - * @return integer |
|
187 | + * @return string |
|
188 | 188 | * The Section ID |
189 | 189 | */ |
190 | 190 | public static function fetchIDFromHandle($handle) |
@@ -1222,7 +1222,7 @@ discard block |
||
1222 | 1222 | * If the date type is set, only the calendar will be shown in the suggestion dropdown. |
1223 | 1223 | * |
1224 | 1224 | * @since Symphony 2.6.0 |
1225 | - * @return array |
|
1225 | + * @return string[] |
|
1226 | 1226 | */ |
1227 | 1227 | public function fetchSuggestionTypes() |
1228 | 1228 | { |
@@ -1337,7 +1337,7 @@ discard block |
||
1337 | 1337 | * @link http://dev.mysql.com/doc/refman/5.5/en/regexp.html |
1338 | 1338 | * @param string $filter |
1339 | 1339 | * The full filter, eg. `regexp: ^[a-d]` |
1340 | - * @param array $columns |
|
1340 | + * @param string[] $columns |
|
1341 | 1341 | * The array of columns that need the given `$filter` applied to. The conditions |
1342 | 1342 | * will be added using `OR`. |
1343 | 1343 | * @param string $joins |
@@ -1508,7 +1508,7 @@ discard block |
||
1508 | 1508 | * The data for this field from it's `tbl_entry_data_{id}` table |
1509 | 1509 | * @param integer $entry_id |
1510 | 1510 | * The optional id of this field entry instance |
1511 | - * @return string|array |
|
1511 | + * @return string |
|
1512 | 1512 | * The formatted value to be used as the parameter. Note that this can be |
1513 | 1513 | * an array or a string. When returning multiple values use array, otherwise |
1514 | 1514 | * use string. |
@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | * Returns the last insert ID from the previous query. This is |
354 | 354 | * the value from an auto_increment field. |
355 | 355 | * |
356 | - * @return integer |
|
356 | + * @return string |
|
357 | 357 | * The last interested row's ID |
358 | 358 | */ |
359 | 359 | public function getInsertID() |
@@ -380,7 +380,7 @@ discard block |
||
380 | 380 | * conflicts. By default this is set to false, which will not update the data and |
381 | 381 | * would return an SQL error |
382 | 382 | * @throws DatabaseException |
383 | - * @return boolean |
|
383 | + * @return PDOStatement |
|
384 | 384 | */ |
385 | 385 | public function insert(array $fields, $table, $updateOnDuplicate=false) |
386 | 386 | { |
@@ -443,7 +443,7 @@ discard block |
||
443 | 443 | * A WHERE statement for this UPDATE statement, defaults to null |
444 | 444 | * which will update all rows in the $table |
445 | 445 | * @param array $params |
446 | - * @return bool |
|
446 | + * @return PDOStatement |
|
447 | 447 | */ |
448 | 448 | public function update($fields, $table, $where = null, $params = array()) |
449 | 449 | { |
@@ -469,7 +469,7 @@ discard block |
||
469 | 469 | * A WHERE statement for this DELETE statement, defaults to null, |
470 | 470 | * which will delete all rows in the $table |
471 | 471 | * @throws DatabaseException |
472 | - * @return boolean |
|
472 | + * @return PDOStatement |
|
473 | 473 | */ |
474 | 474 | public function delete($table, $where = null, array $params = array()) |
475 | 475 | { |
@@ -695,7 +695,7 @@ discard block |
||
695 | 695 | * @throws Exception |
696 | 696 | * @param string $sql |
697 | 697 | * A string containing SQL queries delimited by `;` |
698 | - * @return boolean |
|
698 | + * @return boolean|null |
|
699 | 699 | * If one of the queries fails, false will be returned and no further queries |
700 | 700 | * will be executed, otherwise true will be returned. |
701 | 701 | */ |