Completed
Pull Request — master (#5998)
by Sam
15:29 queued 02:29
created
View/SSViewer_DataPresenter.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -33,6 +33,10 @@  discard block
 block discarded – undo
33 33
 	 */
34 34
 	protected $underlay;
35 35
 
36
+	/**
37
+	 * @param ViewableData $item
38
+	 * @param ViewableData $inheritedScope
39
+	 */
36 40
 	public function __construct($item, $overlay = null, $underlay = null, $inheritedScope = null)
37 41
 	{
38 42
 		parent::__construct($item, $inheritedScope);
@@ -58,6 +62,10 @@  discard block
 block discarded – undo
58 62
 		$this->underlay = $underlay ? $underlay : array();
59 63
 	}
60 64
 
65
+	/**
66
+	 * @param string $interfaceToQuery
67
+	 * @param string $variableMethod
68
+	 */
61 69
 	protected function createCallableArray(&$extraArray, $interfaceToQuery, $variableMethod, $createObject = false)
62 70
 	{
63 71
 		$implementers = ClassInfo::implementorsOf($interfaceToQuery);
Please login to merge, or discard this patch.
View/SSViewer_FromString.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
 	 */
31 31
 	protected $cacheTemplate;
32 32
 
33
+	/**
34
+	 * @param string $content
35
+	 */
33 36
 	public function __construct($content, TemplateParser $parser = null)
34 37
 	{
35 38
 		if ($parser) {
Please login to merge, or discard this patch.
View/ThemeResourceLoader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
 		self::$instance = $instance;
31 31
 	}
32 32
 
33
+	/**
34
+	 * @param string $base
35
+	 */
33 36
 	public function __construct($base = null) {
34 37
 		$this->base = $base ? $base : BASE_PATH;
35 38
 	}
Please login to merge, or discard this patch.
Assets/Folder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 	 * Find the given folder or create it as a database record
57 57
 	 *
58 58
 	 * @param string $folderPath Directory path relative to assets root
59
-	 * @return Folder|null
59
+	 * @return null|\SilverStripe\ORM\DataObject
60 60
 	 */
61 61
 	public static function find_or_make($folderPath) {
62 62
 		// replace leading and trailing slashes
Please login to merge, or discard this patch.
Dev/BulkLoader_Result.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 
134 134
 	/**
135 135
 	 * @param $obj DataObject
136
-	 * @param $message string
136
+	 * @param string $message string
137 137
 	 */
138 138
 	public function addCreated($obj, $message = null)
139 139
 	{
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 
148 148
 	/**
149 149
 	 * @param $obj DataObject
150
-	 * @param $message string
150
+	 * @param string $message string
151 151
 	 */
152 152
 	public function addUpdated($obj, $message = null)
153 153
 	{
@@ -160,8 +160,8 @@  discard block
 block discarded – undo
160 160
 	}
161 161
 
162 162
 	/**
163
-	 * @param $obj DataObject
164
-	 * @param $message string
163
+	 * @param DataObject|null $obj DataObject
164
+	 * @param string $message string
165 165
 	 */
166 166
 	public function addDeleted($obj, $message = null)
167 167
 	{
Please login to merge, or discard this patch.
Forms/HiddenField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @return string
77
+	 * @return \SilverStripe\ORM\FieldType\DBHTMLText
78 78
 	 */
79 79
 	public function InternallyLabelledField() {
80 80
 		Deprecation::notice('4.0', 'Please use ->setValue() instead');
Please login to merge, or discard this patch.
Forms/HTMLEditor/HTMLEditorField_Toolbar.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,10 @@  discard block
 block discarded – undo
67 67
 	 */
68 68
 	protected $name;
69 69
 
70
+	/**
71
+	 * @param Controller|null $controller
72
+	 * @param string $name
73
+	 */
70 74
 	public function __construct($controller, $name)
71 75
 	{
72 76
 		parent::__construct();
@@ -487,7 +491,7 @@  discard block
 block discarded – undo
487 491
 	/**
488 492
 	 * Find all anchors available on the given page.
489 493
 	 *
490
-	 * @return array
494
+	 * @return string
491 495
 	 * @throws SS_HTTPResponse_Exception
492 496
 	 */
493 497
 	public function getanchors()
Please login to merge, or discard this patch.
Forms/ListboxField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @return string
77
+	 * @return \SilverStripe\ORM\FieldType\DBHTMLText
78 78
 	 */
79 79
 	public function InternallyLabelledField() {
80 80
 		Deprecation::notice('4.0', 'Please use ->setValue() instead');
Please login to merge, or discard this patch.
Forms/LookupField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @return string
77
+	 * @return \SilverStripe\ORM\FieldType\DBHTMLText
78 78
 	 */
79 79
 	public function InternallyLabelledField() {
80 80
 		Deprecation::notice('4.0', 'Please use ->setValue() instead');
Please login to merge, or discard this patch.