@@ -119,8 +119,8 @@ |
||
| 119 | 119 | * Map the given field type to one of the available class names |
| 120 | 120 | * Also looks into the current mapping if the field has a new type |
| 121 | 121 | * |
| 122 | - * @param $type |
|
| 123 | - * @param null $name |
|
| 122 | + * @param \FormField $type |
|
| 123 | + * @param string $name |
|
| 124 | 124 | * |
| 125 | 125 | * @return string |
| 126 | 126 | */ |
@@ -219,7 +219,7 @@ |
||
| 219 | 219 | /** |
| 220 | 220 | * Get the event start date |
| 221 | 221 | * |
| 222 | - * @return Date |
|
| 222 | + * @return SS_Datetime|null |
|
| 223 | 223 | */ |
| 224 | 224 | private function getEventStartDate() |
| 225 | 225 | { |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | * Create the actual field |
| 157 | 157 | * Overwrite this on the field subclass |
| 158 | 158 | * |
| 159 | - * @param $fieldName string Created by the AttendeeField |
|
| 159 | + * @param string $fieldName string Created by the AttendeeField |
|
| 160 | 160 | * @param $defaultValue string Set a default value |
| 161 | 161 | * |
| 162 | 162 | * @return FormField |
@@ -349,7 +349,7 @@ |
||
| 349 | 349 | * Get the user field and store it in a static cache |
| 350 | 350 | * todo: add a cache that saves the field value on save and retrieves the values here, dumb, so empty fields don't trigger queries |
| 351 | 351 | * |
| 352 | - * @param $field |
|
| 352 | + * @param string $field |
|
| 353 | 353 | * @return mixed|null|string |
| 354 | 354 | */ |
| 355 | 355 | public function getUserField($field) |