@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | * Get the validator for the form to be built |
| 76 | 76 | * |
| 77 | 77 | * @param $controller |
| 78 | - * @param $name |
|
| 78 | + * @param string $name |
|
| 79 | 79 | * @param $context |
| 80 | 80 | * @return RequiredFields |
| 81 | 81 | */ |
@@ -139,6 +139,9 @@ discard block |
||
| 139 | 139 | return null; |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | + /** |
|
| 143 | + * @param string $name |
|
| 144 | + */ |
|
| 142 | 145 | protected function getFormActions(Controller $controller, $name, $context = []) |
| 143 | 146 | { |
| 144 | 147 | $record = isset($context['Record']) ? $context['Record'] : null; |
@@ -213,8 +216,8 @@ discard block |
||
| 213 | 216 | /** |
| 214 | 217 | * Get actions that go into the Popover menu |
| 215 | 218 | * |
| 216 | - * @param $record |
|
| 217 | - * @return array |
|
| 219 | + * @param File $record |
|
| 220 | + * @return string|null |
|
| 218 | 221 | */ |
| 219 | 222 | protected function getPopoverActions($record) |
| 220 | 223 | { |