@@ -19,7 +19,7 @@ |
||
19 | 19 | * @param string a file path or file name |
20 | 20 | * @param mixed data to be sent if the filename does not exist |
21 | 21 | * @param string suggested filename to display in the download |
22 | - * @return void |
|
22 | + * @return false|null |
|
23 | 23 | */ |
24 | 24 | public static function force($filename = null, $data = null, $nicename = null) |
25 | 25 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * Creates a SwiftMailer instance. |
20 | 20 | * |
21 | 21 | * @param string DSN connection string |
22 | - * @return object Swift object |
|
22 | + * @return Swift Swift object |
|
23 | 23 | */ |
24 | 24 | public static function connect($config = null) |
25 | 25 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | * Checks to see if a page should be updated or send Not Modified status |
42 | 42 | * |
43 | 43 | * @param integer Seconds added to the modified time received to calculate what should be sent |
44 | - * @return bool FALSE when the request needs to be updated |
|
44 | + * @return null|false FALSE when the request needs to be updated |
|
45 | 45 | */ |
46 | 46 | public static function check($seconds = 60) |
47 | 47 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * |
18 | 18 | * @param integer number to round |
19 | 19 | * @param integer number to round to |
20 | - * @return integer |
|
20 | + * @return double |
|
21 | 21 | */ |
22 | 22 | public static function round($number, $nearest = 5) |
23 | 23 | { |
@@ -72,7 +72,6 @@ discard block |
||
72 | 72 | /** |
73 | 73 | * Tests if input data is valid file type, even if no upload is present. |
74 | 74 | * |
75 | - * @param array $_FILES item |
|
76 | 75 | * @return bool |
77 | 76 | */ |
78 | 77 | public static function valid($file) |
@@ -88,7 +87,6 @@ discard block |
||
88 | 87 | /** |
89 | 88 | * Tests if input data has valid upload data. |
90 | 89 | * |
91 | - * @param array $_FILES item |
|
92 | 90 | * @return bool |
93 | 91 | */ |
94 | 92 | public static function required(array $file) |
@@ -102,7 +100,6 @@ discard block |
||
102 | 100 | /** |
103 | 101 | * Validation rule to test if an uploaded file is allowed by extension. |
104 | 102 | * |
105 | - * @param array $_FILES item |
|
106 | 103 | * @param array allowed file extensions |
107 | 104 | * @return bool |
108 | 105 | */ |
@@ -128,7 +125,6 @@ discard block |
||
128 | 125 | * B is the byte modifier: (B)ytes, (K)ilobytes, (M)egabytes, (G)igabytes. |
129 | 126 | * Eg: to limit the size to 1MB or less, you would use "1M". |
130 | 127 | * |
131 | - * @param array $_FILES item |
|
132 | 128 | * @param array maximum file size |
133 | 129 | * @return bool |
134 | 130 | */ |
@@ -164,7 +164,7 @@ |
||
164 | 164 | * |
165 | 165 | * @param mixed string site URI or URL to redirect to, or array of strings if method is 300 |
166 | 166 | * @param string HTTP method of redirect |
167 | - * @return void |
|
167 | + * @return false|null |
|
168 | 168 | */ |
169 | 169 | public static function redirect($uri = '', $method = '302') |
170 | 170 | { |
@@ -127,7 +127,7 @@ |
||
127 | 127 | * |
128 | 128 | * @chainable |
129 | 129 | * @param string standard event type |
130 | - * @return object |
|
130 | + * @return Calendar_Core |
|
131 | 131 | */ |
132 | 132 | public function standard($name) |
133 | 133 | { |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * @chainable |
55 | 55 | * @param string condition key |
56 | 56 | * @param mixed condition value |
57 | - * @return object |
|
57 | + * @return Calendar_Event_Core |
|
58 | 58 | */ |
59 | 59 | public function condition($key, $value) |
60 | 60 | { |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * |
83 | 83 | * @chainable |
84 | 84 | * @param string CSS class name |
85 | - * @return object |
|
85 | + * @return Calendar_Event_Core |
|
86 | 86 | */ |
87 | 87 | public function add_class($class) |
88 | 88 | { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * |
97 | 97 | * @chainable |
98 | 98 | * @param string CSS class name |
99 | - * @return object |
|
99 | + * @return Calendar_Event_Core |
|
100 | 100 | */ |
101 | 101 | public function remove_class($class) |
102 | 102 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * |
111 | 111 | * @chainable |
112 | 112 | * @param string HTML output |
113 | - * @return object |
|
113 | + * @return Calendar_Event_Core |
|
114 | 114 | */ |
115 | 115 | public function output($str) |
116 | 116 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * |
125 | 125 | * @chainable |
126 | 126 | * @param string CSS class name |
127 | - * @return object |
|
127 | + * @return false|null |
|
128 | 128 | */ |
129 | 129 | public function notify($data) |
130 | 130 | { |
@@ -257,6 +257,7 @@ discard block |
||
257 | 257 | * with the "occurrence" condition. |
258 | 258 | * |
259 | 259 | * @param integer UNIX timestamp |
260 | + * @param integer $timestamp |
|
260 | 261 | * @return integer |
261 | 262 | */ |
262 | 263 | protected function day_occurrence($timestamp) |
@@ -298,6 +298,7 @@ discard block |
||
298 | 298 | * Selects the from table(s) for a database query. |
299 | 299 | * |
300 | 300 | * @param string string or array of tables to select |
301 | + * @param string|boolean $sql |
|
301 | 302 | * @return Database_Core This Database object. |
302 | 303 | */ |
303 | 304 | public function from($sql) |
@@ -795,7 +796,7 @@ discard block |
||
795 | 796 | * @param array where clause |
796 | 797 | * @param string limit clause |
797 | 798 | * @param string offset clause |
798 | - * @return Database_Core This Database object. |
|
799 | + * @return Database_Result This Database object. |
|
799 | 800 | */ |
800 | 801 | public function getwhere($table = '', $where = null, $limit = null, $offset = null) |
801 | 802 | { |
@@ -1120,6 +1121,7 @@ discard block |
||
1120 | 1121 | * |
1121 | 1122 | * @param string query to bind to the values |
1122 | 1123 | * @param array array of values to bind to the query |
1124 | + * @param string $sql |
|
1123 | 1125 | * @return string |
1124 | 1126 | */ |
1125 | 1127 | public function compile_binds($sql, $binds) |
@@ -1196,6 +1198,7 @@ discard block |
||
1196 | 1198 | * Escapes a table name for a query. |
1197 | 1199 | * |
1198 | 1200 | * @param string string to escape |
1201 | + * @param string $table |
|
1199 | 1202 | * @return string |
1200 | 1203 | */ |
1201 | 1204 | public function escape_table($table) |
@@ -1207,6 +1210,7 @@ discard block |
||
1207 | 1210 | * Escapes a column name for a query. |
1208 | 1211 | * |
1209 | 1212 | * @param string string to escape |
1213 | + * @param string $table |
|
1210 | 1214 | * @return string |
1211 | 1215 | */ |
1212 | 1216 | public function escape_column($table) |