Completed
Push — master ( 0b1445...cdc0cf )
by Christopher
09:28
created
tests/SegmentFieldModifier/IDSegmentFieldModifierTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 	}
37 37
 
38 38
 	/**
39
-	 * @return Form
39
+	 * @return Mockery\MockInterface
40 40
 	 */
41 41
 	protected function getNewFormMock() {
42 42
 		$record = new StdClass();
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 use Mockery;
7
-
8 7
 use SilverStripe\Forms\SegmentFieldModifier\IDSegmentFieldModifier;
9
-use stdClass;
10 8
 use SilverStripe\Dev\SapphireTest;
11 9
 
12 10
 
Please login to merge, or discard this patch.
code/SegmentField.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 *
73 73
 	 * @param array $properties
74 74
 	 *
75
-	 * @return string
75
+	 * @return \SilverStripe\ORM\FieldType\DBHTMLText
76 76
 	 */
77 77
 	public function Field($properties = array()) {
78 78
 		Requirements::javascript('http://code.jquery.com/jquery-1.7.2.min.js');
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 	/**
86 86
 	 * @inheritdoc
87 87
 	 *
88
-	 * @param mixed $request
88
+	 * @param \Mockery\MockInterface $request
89 89
 	 *
90 90
 	 * @return string
91 91
 	 */
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
 	/**
118 118
 	 * @param SegmentFieldModifier $modifier
119
-	 * @param mixed $form
119
+	 * @param Form $form
120 120
 	 * @param mixed $request
121 121
 	 *
122 122
 	 * @return $this
Please login to merge, or discard this patch.
tests/SegmentFieldTest.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 use Mockery;
7
-
8 7
 use SilverStripe\Forms\SegmentField;
9 8
 use SilverStripe\Forms\SegmentFieldModifier\AbstractSegmentFieldModifier;
10
-
11 9
 use SilverStripe\Dev\SapphireTest;
12 10
 
13 11
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,14 +73,14 @@
 block discarded – undo
73 73
 	}
74 74
 
75 75
 	/**
76
-	 * @return SS_HTTPRequest
76
+	 * @return Mockery\MockInterface
77 77
 	 */
78 78
 	protected function getNewRequestMock() {
79 79
 		return Mockery::mock('SilverStripe\\Control\\HTTPRequest');
80 80
 	}
81 81
 
82 82
 	/**
83
-	 * @return Form
83
+	 * @return Mockery\MockInterface
84 84
 	 */
85 85
 	protected function getNewFormMock() {
86 86
 		return Mockery::mock('SilverStripe\\Forms\\Form');
Please login to merge, or discard this patch.
tests/SegmentFieldModifier/SlugSegmentFieldModifierTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 	}
41 41
 
42 42
 	/**
43
-	 * @return Form
43
+	 * @return Mockery\MockInterface
44 44
 	 */
45 45
 	protected function getNewRequestMock() {
46 46
 		$mock = Mockery::mock('SilverStripe\\Control\\HTTPRequest');
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 use Mockery;
7
-
8 7
 use SilverStripe\Forms\SegmentFieldModifier\SlugSegmentFieldModifier;
9 8
 use SilverStripe\Dev\SapphireTest;
10 9
 
Please login to merge, or discard this patch.