Completed
Pull Request — master (#230)
by Helpful
03:29
created
code/forms/gridfield/GridFieldExportAction.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * Which columns are handled by this component
53 53
      * 
54 54
      * @param type $gridField
55
-     * @return type 
55
+     * @return string[] 
56 56
      */
57 57
     public function getColumnsHandled($gridField)
58 58
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * Which GridField actions are this component handling
64 64
      *
65 65
      * @param GridField $gridField
66
-     * @return array 
66
+     * @return string[] 
67 67
      */
68 68
     public function getActions($gridField)
69 69
     {
Please login to merge, or discard this patch.
code/forms/gridfield/GridFieldWorkflowRestrictedEditButton.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * Which columns are handled by this component
64 64
      * 
65 65
      * @param type $gridField
66
-     * @return type 
66
+     * @return string[] 
67 67
      */
68 68
     public function getColumnsHandled($gridField)
69 69
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * @param DataObject $record
76 76
      * @param string $columnName
77 77
      *
78
-     * @return string - the HTML for the column 
78
+     * @return HTMLText - the HTML for the column 
79 79
      */
80 80
     public function getColumnContent($gridField, $record, $columnName)
81 81
     {
Please login to merge, or discard this patch.
code/jobs/WorkflowPublishTargetJob.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
  */
7 7
 class WorkflowPublishTargetJob extends AbstractQueuedJob
8 8
 {
9
+    /**
10
+     * @param string $type
11
+     */
9 12
     public function __construct($obj = null, $type = null)
10 13
     {
11 14
         if ($obj) {
Please login to merge, or discard this patch.
code/services/WorkflowService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@  discard block
 block discarded – undo
67 67
      * Will recursively query parent elements until it finds one, if available
68 68
      *
69 69
      * @param DataObject $dataObject
70
+     * @return null|DataObject
70 71
      */
71 72
     public function getDefinitionFor(DataObject $dataObject)
72 73
     {
@@ -92,6 +93,7 @@  discard block
 block discarded – undo
92 93
      *
93 94
      *	@param data object
94 95
      *	@param integer
96
+     * @param DataObject $object
95 97
      *	@return workflow definition
96 98
      */
97 99
 
@@ -300,7 +302,6 @@  discard block
 block discarded – undo
300 302
     /**
301 303
      * Get items that the passed-in user has awaiting for them to action
302 304
      * 
303
-     * @param Member $member
304 305
      * @return DataList $userInstances
305 306
      */
306 307
     public function userPendingItems(Member $user)
@@ -328,7 +329,6 @@  discard block
 block discarded – undo
328 329
     /**
329 330
      * Get items that the passed-in user has submitted for workflow review
330 331
      *
331
-     * @param Member $member
332 332
      * @return DataList $userInstances
333 333
      */
334 334
     public function userSubmittedItems(Member $user)
Please login to merge, or discard this patch.
code/formfields/WorkflowFieldActionController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -19,6 +19,10 @@
 block discarded – undo
19 19
     protected $parent;
20 20
     protected $name;
21 21
 
22
+    /**
23
+     * @param WorkflowField $parent
24
+     * @param string $name
25
+     */
22 26
     public function __construct($parent, $name)
23 27
     {
24 28
         $this->parent = $parent;
Please login to merge, or discard this patch.
code/templates/WorkflowTemplate.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@  discard block
 block discarded – undo
72 72
      */
73 73
     protected $structure;
74 74
     
75
+    /**
76
+     * @param string $name
77
+     */
75 78
     public function __construct($name, $description = '', $version = '0.0', $remindDays = 0, $sort = 0)
76 79
     {
77 80
         $this->name = $name;
@@ -120,7 +123,7 @@  discard block
 block discarded – undo
120 123
      * Creates the relevant data objects for this structure, returning an array
121 124
      * of actions in the order they've been created 
122 125
      * 
123
-     * @param WorkflowDefinition $definitino
126
+     * @param WorkflowDefinition $definition
124 127
      *				An optional workflow definition to bind the actions into
125 128
      * @return array
126 129
      */
@@ -172,7 +175,7 @@  discard block
 block discarded – undo
172 175
      * Create a workflow action based on a template
173 176
      * 
174 177
      * @param string $name
175
-     * @param array $template
178
+     * @param array $actionTemplate
176 179
      * @param WorkflowDefinition $definition
177 180
      * @return WorkflowAction
178 181
      */
Please login to merge, or discard this patch.