Completed
Push — master ( 1db852...2a6455 )
by Marcus
02:35
created
code/forms/gridfield/GridFieldExportAction.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 	 * Which columns are handled by this component
50 50
 	 * 
51 51
 	 * @param type $gridField
52
-	 * @return type 
52
+	 * @return string[] 
53 53
 	 */
54 54
 	public function getColumnsHandled($gridField) {
55 55
 		return array('Actions');
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 * Which GridField actions are this component handling
60 60
 	 *
61 61
 	 * @param GridField $gridField
62
-	 * @return array 
62
+	 * @return string[] 
63 63
 	 */
64 64
 	public function getActions($gridField) {
65 65
 		return array('exportrecord');
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
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 * Which columns are handled by this component
60 60
 	 * 
61 61
 	 * @param type $gridField
62
-	 * @return type 
62
+	 * @return string[] 
63 63
 	 */
64 64
 	public function getColumnsHandled($gridField) {
65 65
 		return array('Actions');
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 	 * @param DataObject $record
71 71
 	 * @param string $columnName
72 72
 	 *
73
-	 * @return string - the HTML for the column 
73
+	 * @return HTMLText - the HTML for the column 
74 74
 	 */
75 75
 	public function getColumnContent($gridField, $record, $columnName) {
76 76
 		$data = new ArrayData(array(
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
 		if ($obj) {
11 14
 			$this->setObject($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
@@ -63,6 +63,7 @@  discard block
 block discarded – undo
63 63
 	 * Will recursively query parent elements until it finds one, if available
64 64
 	 *
65 65
 	 * @param DataObject $dataObject
66
+	 * @return null|DataObject
66 67
 	 */
67 68
 	public function getDefinitionFor(DataObject $dataObject) {
68 69
 		if ($dataObject->hasExtension('WorkflowApplicable') || $dataObject->hasExtension('FileWorkflowApplicable')) {
@@ -87,6 +88,7 @@  discard block
 block discarded – undo
87 88
 	 *
88 89
 	 *	@param data object
89 90
 	 *	@param integer
91
+	 * @param DataObject $object
90 92
 	 *	@return workflow definition
91 93
 	 */
92 94
 
@@ -288,7 +290,6 @@  discard block
 block discarded – undo
288 290
 	/**
289 291
 	 * Get items that the passed-in user has awaiting for them to action
290 292
 	 * 
291
-	 * @param Member $member
292 293
 	 * @return DataList $userInstances
293 294
 	 */
294 295
 	public function userPendingItems(Member $user) {
@@ -315,7 +316,6 @@  discard block
 block discarded – undo
315 316
 	/**
316 317
 	 * Get items that the passed-in user has submitted for workflow review
317 318
 	 *
318
-	 * @param Member $member
319 319
 	 * @return DataList $userInstances
320 320
 	 */
321 321
 	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
 		$this->parent = $parent;
24 28
 		$this->name   = $name;
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
@@ -71,6 +71,9 @@  discard block
 block discarded – undo
71 71
 	 */
72 72
 	protected $structure;
73 73
 	
74
+	/**
75
+	 * @param string $name
76
+	 */
74 77
 	public function __construct($name, $description = '', $version = '0.0', $remindDays = 0, $sort = 0) {
75 78
 		$this->name = $name;
76 79
 		$this->description = $description;
@@ -112,7 +115,7 @@  discard block
 block discarded – undo
112 115
 	 * Creates the relevant data objects for this structure, returning an array
113 116
 	 * of actions in the order they've been created 
114 117
 	 * 
115
-	 * @param WorkflowDefinition $definitino
118
+	 * @param WorkflowDefinition $definition
116 119
 	 *				An optional workflow definition to bind the actions into
117 120
 	 * @return array
118 121
 	 */
@@ -164,7 +167,7 @@  discard block
 block discarded – undo
164 167
 	 * Create a workflow action based on a template
165 168
 	 * 
166 169
 	 * @param string $name
167
-	 * @param array $template
170
+	 * @param array $actionTemplate
168 171
 	 * @param WorkflowDefinition $definition
169 172
 	 * @return WorkflowAction
170 173
 	 */
Please login to merge, or discard this patch.