@@ -275,6 +275,7 @@ |
||
275 | 275 | * @param string the email address |
276 | 276 | * @param string the link title |
277 | 277 | * @param mixed any attributes |
278 | + * @param string $email |
|
278 | 279 | * @return string |
279 | 280 | */ |
280 | 281 | function safe_mailto($email, $title = '', $attributes = '') |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | * |
80 | 80 | * @param string $id Cache ID |
81 | 81 | * @param mixed $data Data to store |
82 | - * @param int $ttol Length of time (in seconds) to cache the data |
|
82 | + * @param int $ttl Length of time (in seconds) to cache the data |
|
83 | 83 | * @param bool $raw Whether to store the raw value |
84 | 84 | * @return bool TRUE on success, FALSE on failure |
85 | 85 | */ |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * |
115 | 115 | * @param string $id Cache ID |
116 | 116 | * @param int $offset Step/value to add |
117 | - * @return mixed New value on success or FALSE on failure |
|
117 | + * @return integer New value on success or FALSE on failure |
|
118 | 118 | */ |
119 | 119 | public function increment($id, $offset = 1) |
120 | 120 | { |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | * |
129 | 129 | * @param string $id Cache ID |
130 | 130 | * @param int $offset Step/value to reduce by |
131 | - * @return mixed New value on success or FALSE on failure |
|
131 | + * @return integer New value on success or FALSE on failure |
|
132 | 132 | */ |
133 | 133 | public function decrement($id, $offset = 1) |
134 | 134 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | * |
98 | 98 | * @param string $id Cache ID |
99 | 99 | * @param int $offset Step/value to add |
100 | - * @return mixed New value on success or FALSE on failure |
|
100 | + * @return boolean New value on success or FALSE on failure |
|
101 | 101 | */ |
102 | 102 | public function increment($id, $offset = 1) |
103 | 103 | { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * |
112 | 112 | * @param string $id Cache ID |
113 | 113 | * @param int $offset Step/value to reduce by |
114 | - * @return mixed New value on success or FALSE on failure |
|
114 | + * @return boolean New value on success or FALSE on failure |
|
115 | 115 | */ |
116 | 116 | public function decrement($id, $offset = 1) |
117 | 117 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * Insert items into the cart and save it to the session table |
125 | 125 | * |
126 | 126 | * @param array |
127 | - * @return bool |
|
127 | + * @return string|boolean |
|
128 | 128 | */ |
129 | 129 | public function insert($items = array()) |
130 | 130 | { |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | * Insert |
179 | 179 | * |
180 | 180 | * @param array |
181 | - * @return bool |
|
181 | + * @return false|string |
|
182 | 182 | */ |
183 | 183 | protected function _insert($items = array()) |
184 | 184 | { |
@@ -560,6 +560,7 @@ discard block |
||
560 | 560 | * |
561 | 561 | * @param string |
562 | 562 | * @param string |
563 | + * @param string $replyto |
|
563 | 564 | * @return CI_Email |
564 | 565 | */ |
565 | 566 | public function reply_to($replyto, $name = '') |
@@ -804,6 +805,8 @@ discard block |
||
804 | 805 | * |
805 | 806 | * @param string |
806 | 807 | * @param string |
808 | + * @param string $header |
|
809 | + * @param string $value |
|
807 | 810 | * @return CI_Email |
808 | 811 | */ |
809 | 812 | public function set_header($header, $value) |
@@ -962,7 +965,7 @@ discard block |
||
962 | 965 | * Get Mail Protocol |
963 | 966 | * |
964 | 967 | * @param bool |
965 | - * @return mixed |
|
968 | + * @return string|null |
|
966 | 969 | */ |
967 | 970 | protected function _get_protocol($return = TRUE) |
968 | 971 | { |
@@ -1168,6 +1171,8 @@ discard block |
||
1168 | 1171 | * |
1169 | 1172 | * @param string |
1170 | 1173 | * @param int line-length limit |
1174 | + * @param string $str |
|
1175 | + * @param integer $charlim |
|
1171 | 1176 | * @return string |
1172 | 1177 | */ |
1173 | 1178 | public function word_wrap($str, $charlim = NULL) |
@@ -1311,7 +1316,7 @@ discard block |
||
1311 | 1316 | /** |
1312 | 1317 | * Build Final Body and attachments |
1313 | 1318 | * |
1314 | - * @return bool |
|
1319 | + * @return null|boolean |
|
1315 | 1320 | */ |
1316 | 1321 | protected function _build_message() |
1317 | 1322 | { |
@@ -1465,6 +1470,7 @@ discard block |
||
1465 | 1470 | * Refer to RFC 2045 http://www.ietf.org/rfc/rfc2045.txt |
1466 | 1471 | * |
1467 | 1472 | * @param string |
1473 | + * @param string $str |
|
1468 | 1474 | * @return string |
1469 | 1475 | */ |
1470 | 1476 | protected function _prep_quoted_printable($str) |
@@ -1655,7 +1661,7 @@ discard block |
||
1655 | 1661 | * Send Email |
1656 | 1662 | * |
1657 | 1663 | * @param bool $auto_clear = TRUE |
1658 | - * @return bool |
|
1664 | + * @return null|boolean |
|
1659 | 1665 | */ |
1660 | 1666 | public function send($auto_clear = TRUE) |
1661 | 1667 | { |
@@ -1712,7 +1718,7 @@ discard block |
||
1712 | 1718 | /** |
1713 | 1719 | * Batch Bcc Send. Sends groups of BCCs in batches |
1714 | 1720 | * |
1715 | - * @return void |
|
1721 | + * @return false|null |
|
1716 | 1722 | */ |
1717 | 1723 | public function batch_bcc_send() |
1718 | 1724 | { |
@@ -1969,7 +1975,7 @@ discard block |
||
1969 | 1975 | /** |
1970 | 1976 | * SMTP Connect |
1971 | 1977 | * |
1972 | - * @return string |
|
1978 | + * @return boolean |
|
1973 | 1979 | */ |
1974 | 1980 | protected function _smtp_connect() |
1975 | 1981 | { |
@@ -2019,7 +2025,8 @@ discard block |
||
2019 | 2025 | * |
2020 | 2026 | * @param string |
2021 | 2027 | * @param string |
2022 | - * @return string |
|
2028 | + * @param string $cmd |
|
2029 | + * @return boolean |
|
2023 | 2030 | */ |
2024 | 2031 | protected function _send_command($cmd, $data = '') |
2025 | 2032 | { |
@@ -245,6 +245,8 @@ discard block |
||
245 | 245 | * |
246 | 246 | * @param string |
247 | 247 | * @param string |
248 | + * @param string $string |
|
249 | + * @param string $key |
|
248 | 250 | * @return string |
249 | 251 | */ |
250 | 252 | protected function _xor_decode($string, $key) |
@@ -290,6 +292,7 @@ discard block |
||
290 | 292 | * |
291 | 293 | * @param string |
292 | 294 | * @param string |
295 | + * @param string $key |
|
293 | 296 | * @return string |
294 | 297 | */ |
295 | 298 | public function mcrypt_encode($data, $key) |
@@ -306,6 +309,8 @@ discard block |
||
306 | 309 | * |
307 | 310 | * @param string |
308 | 311 | * @param string |
312 | + * @param string $data |
|
313 | + * @param string $key |
|
309 | 314 | * @return string |
310 | 315 | */ |
311 | 316 | public function mcrypt_decode($data, $key) |
@@ -332,6 +337,7 @@ discard block |
||
332 | 337 | * |
333 | 338 | * @param string |
334 | 339 | * @param string |
340 | + * @param string $data |
|
335 | 341 | * @return string |
336 | 342 | */ |
337 | 343 | protected function _add_cipher_noise($data, $key) |
@@ -422,7 +428,7 @@ discard block |
||
422 | 428 | /** |
423 | 429 | * Get Mcrypt cipher Value |
424 | 430 | * |
425 | - * @return int |
|
431 | + * @return string |
|
426 | 432 | */ |
427 | 433 | protected function _get_cipher() |
428 | 434 | { |
@@ -640,7 +640,7 @@ discard block |
||
640 | 640 | * Get params |
641 | 641 | * |
642 | 642 | * @param array $params Input parameters |
643 | - * @return array |
|
643 | + * @return string |
|
644 | 644 | */ |
645 | 645 | protected function _get_params($params) |
646 | 646 | { |
@@ -830,10 +830,10 @@ discard block |
||
830 | 830 | * HKDF |
831 | 831 | * |
832 | 832 | * @link https://tools.ietf.org/rfc/rfc5869.txt |
833 | - * @param $key Input key |
|
833 | + * @param string $key Input key |
|
834 | 834 | * @param $digest A SHA-2 hashing algorithm |
835 | 835 | * @param $salt Optional salt |
836 | - * @param $length Output length (defaults to the selected digest size) |
|
836 | + * @param integer $length Output length (defaults to the selected digest size) |
|
837 | 837 | * @param $info Optional context/application-specific info |
838 | 838 | * @return string A pseudo-random key |
839 | 839 | */ |
@@ -1237,6 +1237,7 @@ |
||
1237 | 1237 | * Valid Email |
1238 | 1238 | * |
1239 | 1239 | * @param string |
1240 | + * @param string $str |
|
1240 | 1241 | * @return bool |
1241 | 1242 | */ |
1242 | 1243 | public function valid_email($str) |
@@ -675,6 +675,7 @@ |
||
675 | 675 | * |
676 | 676 | * @param string The element to attach the event to |
677 | 677 | * @param bool If a CDATA section should be added |
678 | + * @param string $script |
|
678 | 679 | * @return string |
679 | 680 | */ |
680 | 681 | public function inline($script, $cdata = TRUE) |