Completed
Pull Request — master (#2)
by Helpful
09:48
created
code/SegmentField.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * @inheritdoc
84 84
 	 *
85
-	 * @param mixed $request
85
+	 * @param \Mockery\MockInterface $request
86 86
 	 *
87 87
 	 * @return string
88 88
 	 */
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 
114 114
 	/**
115 115
 	 * @param SegmentFieldModifier $modifier
116
-	 * @param mixed $form
116
+	 * @param \Form $form
117 117
 	 * @param mixed $request
118 118
 	 *
119 119
 	 * @return $this
Please login to merge, or discard this patch.
tests/SegmentFieldModifier/IDSegmentFieldModifierTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Mockery;
7 7
 use SapphireTest;
8 8
 use SilverStripe\Forms\SegmentFieldModifier\IDSegmentFieldModifier;
9
-use stdClass;
10 9
 
11 10
 /**
12 11
  * @cover IDSegmentFieldModifier
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	}
39 39
 
40 40
 	/**
41
-	 * @return Form
41
+	 * @return Mockery\MockInterface
42 42
 	 */
43 43
 	protected function getNewRequestMock() {
44 44
 		$mock = Mockery::mock('SS_HTTPRequest');
Please login to merge, or discard this patch.
tests/SegmentFieldModifier/SlugSegmentFieldModifierTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	}
39 39
 
40 40
 	/**
41
-	 * @return Form
41
+	 * @return Mockery\MockInterface
42 42
 	 */
43 43
 	protected function getNewRequestMock() {
44 44
 		$mock = Mockery::mock('SS_HTTPRequest');
Please login to merge, or discard this patch.
tests/SegmentFieldTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,14 +71,14 @@
 block discarded – undo
71 71
 	}
72 72
 
73 73
 	/**
74
-	 * @return SS_HTTPRequest
74
+	 * @return Mockery\MockInterface
75 75
 	 */
76 76
 	protected function getNewRequestMock() {
77 77
 		return Mockery::mock('SS_HTTPRequest');
78 78
 	}
79 79
 
80 80
 	/**
81
-	 * @return Form
81
+	 * @return Mockery\MockInterface
82 82
 	 */
83 83
 	protected function getNewFormMock() {
84 84
 		return Mockery::mock('Form');
Please login to merge, or discard this patch.