@@ -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) |
@@ -262,7 +262,7 @@ |
||
262 | 262 | * @since Symphony 2.3 |
263 | 263 | * @param string $name |
264 | 264 | * Name of the template |
265 | - * @return mixed |
|
265 | + * @return string|false |
|
266 | 266 | * String, which is the path to the template if the template is found, |
267 | 267 | * false otherwise |
268 | 268 | */ |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | * This methods sets the `GenericExceptionHandler::$enabled` value to `true`. |
305 | 305 | * |
306 | 306 | * @see core.SymphonyErrorPage |
307 | - * @param string|XMLElement $message |
|
307 | + * @param string $message |
|
308 | 308 | * A description for this error, which can be provided as a string |
309 | 309 | * or as an XMLElement. |
310 | 310 | * @param string $heading |
@@ -690,7 +690,7 @@ discard block |
||
690 | 690 | * Accessor for the current `$Flash` instance. |
691 | 691 | * |
692 | 692 | * @since 3.0.0 |
693 | - * @return SessionFlash |
|
693 | + * @return Session |
|
694 | 694 | */ |
695 | 695 | public static function Flash() |
696 | 696 | { |
@@ -801,7 +801,7 @@ discard block |
||
801 | 801 | * Accessor for `self::$exception`. |
802 | 802 | * |
803 | 803 | * @since Symphony 2.3.2 |
804 | - * @return Exception|null |
|
804 | + * @return Exception |
|
805 | 805 | */ |
806 | 806 | public static function getException() |
807 | 807 | { |
@@ -1040,7 +1040,7 @@ discard block |
||
1040 | 1040 | * is not found, `false` is returned |
1041 | 1041 | * |
1042 | 1042 | * @since Symphony 2.3 |
1043 | - * @return mixed |
|
1043 | + * @return string|false |
|
1044 | 1044 | * String, which is the path to the template if the template is found, |
1045 | 1045 | * false otherwise |
1046 | 1046 | */ |
@@ -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 | { |
@@ -711,7 +711,7 @@ |
||
711 | 711 | * Returns the last insert ID from the previous query. This is |
712 | 712 | * the value from an auto_increment field. |
713 | 713 | * |
714 | - * @return integer |
|
714 | + * @return string |
|
715 | 715 | * The last interested row's ID |
716 | 716 | */ |
717 | 717 | public function getInsertID() |
@@ -551,7 +551,7 @@ |
||
551 | 551 | * |
552 | 552 | * @throws EmailGatewayException |
553 | 553 | * @throws Exception |
554 | - * @return boolean |
|
554 | + * @return boolean|null |
|
555 | 555 | */ |
556 | 556 | protected function prepareMessageBody() |
557 | 557 | { |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | * |
165 | 165 | * @param string $name |
166 | 166 | * The gateway to look for |
167 | - * @return string|boolean |
|
167 | + * @return string |
|
168 | 168 | * @todo fix return if gateway does not exist. |
169 | 169 | */ |
170 | 170 | public static function __getDriverPath($name) |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | * Does not check if the gateway exists. |
178 | 178 | * |
179 | 179 | * @param string $filename |
180 | - * @return string|boolean |
|
180 | + * @return string |
|
181 | 181 | */ |
182 | 182 | public static function __getHandleFromFilename($filename) |
183 | 183 | { |
@@ -145,7 +145,7 @@ |
||
145 | 145 | * |
146 | 146 | * @see toolkit.MySQL#getInsertID() |
147 | 147 | * @throws DatabaseException |
148 | - * @return integer |
|
148 | + * @return null|string |
|
149 | 149 | */ |
150 | 150 | public function assignEntryId() |
151 | 151 | { |
@@ -475,7 +475,7 @@ discard block |
||
475 | 475 | * |
476 | 476 | * @param integer $entry_id |
477 | 477 | * The ID of the Entry to return it's section |
478 | - * @return integer |
|
478 | + * @return string |
|
479 | 479 | * The Section ID for this Entry's section |
480 | 480 | */ |
481 | 481 | public static function fetchEntrySectionID($entry_id) |
@@ -654,7 +654,7 @@ discard block |
||
654 | 654 | * by providing an array of field names. Defaults to null, which will load data |
655 | 655 | * from all fields in a section. |
656 | 656 | * @throws Exception |
657 | - * @return array |
|
657 | + * @return integer|null |
|
658 | 658 | * Either an array of Entry objects, or an associative array containing |
659 | 659 | * the total entries, the start position, the entries per page and the |
660 | 660 | * Entry objects |
@@ -725,7 +725,7 @@ discard block |
||
725 | 725 | * Any custom JOIN's |
726 | 726 | * @param boolean $group |
727 | 727 | * Whether the entries need to be grouped by Entry ID or not |
728 | - * @return integer |
|
728 | + * @return false|string |
|
729 | 729 | */ |
730 | 730 | public static function fetchCount($section_id = null, $where = null, $joins = null, $group = false) |
731 | 731 | { |