@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * @param XMLElement $result |
66 | 66 | * @param array $fields |
67 | 67 | * @param array $errors |
68 | - * @param object $post_values |
|
68 | + * @param XMLElement $post_values |
|
69 | 69 | * @throws Exception |
70 | 70 | * @return XMLElement |
71 | 71 | */ |
@@ -192,7 +192,6 @@ discard block |
||
192 | 192 | * Helper method to determine if a field is missing, or if the data |
193 | 193 | * provided was invalid. Used in conjunction with `array_reduce`. |
194 | 194 | * |
195 | - * @param array $a, |
|
196 | 195 | * @param array $b |
197 | 196 | * @return string |
198 | 197 | * 'missing' or 'invalid' |
@@ -303,7 +302,7 @@ discard block |
||
303 | 302 | * If this Event is editing an existing entry, that Entry ID will |
304 | 303 | * be passed to this function. |
305 | 304 | * @throws Exception |
306 | - * @return XMLElement |
|
305 | + * @return boolean |
|
307 | 306 | * The result of the Event |
308 | 307 | */ |
309 | 308 | public function __doit(array $fields = array(), XMLElement &$result, $position = null, $entry_id = null) |
@@ -102,7 +102,7 @@ |
||
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 | */ |
@@ -201,6 +201,9 @@ |
||
201 | 201 | return self::__OK__; |
202 | 202 | } |
203 | 203 | |
204 | + /** |
|
205 | + * @param integer $entry_id |
|
206 | + */ |
|
204 | 207 | public function processRawFieldData($data, &$status, &$message = null, $simulate = false, $entry_id = null) |
205 | 208 | { |
206 | 209 | $status = self::__OK__; |