Completed
Push — no-object-class ( 9520f7 )
by Sam
09:41
created
View/SSViewer_DataPresenter.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use SilverStripe\Core\ClassInfo;
7 7
 use SilverStripe\Core\Config\Config;
8 8
 use SilverStripe\Core\Injector\Injector;
9
-use SilverStripe\Core\Object;
10 9
 
11 10
 /**
12 11
  * This extends SSViewer_Scope to mix in data on top of what the item provides. This can be "global"
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.
admin/tests/LeftAndMainTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use SilverStripe\Core\Convert;
4
-use SilverStripe\Core\Config\Config;
5 4
 use SilverStripe\Dev\SapphireTest;
6 5
 use SilverStripe\View\Parsers\URLSegmentFilter;
7 6
 
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/InlineFormAction.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SilverStripe\Forms;
4 4
 
5
-use SilverStripe\View\Requirements;
6
-
7 5
 /**
8 6
  * Render a button that will submit the form its contained in through ajax.
9 7
  *
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.
Security/PermissionCheckboxSetField.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use SilverStripe\ORM\SS_List;
8 8
 use SilverStripe\ORM\ArrayList;
9 9
 use SilverStripe\ORM\DataObjectInterface;
10
-use SilverStripe\View\Requirements;
11 10
 use InvalidArgumentException;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
tests/control/CMSProfileControllerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use SilverStripe\Core\Convert;
4
-use SilverStripe\Core\Config\Config;
5 4
 use SilverStripe\Dev\SapphireTest;
6 5
 use SilverStripe\View\Parsers\URLSegmentFilter;
7 6
 
Please login to merge, or discard this patch.