Completed
Pull Request — master (#415)
by
unknown
02:13
created
code/Forms/AssetFormFactory.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.