Completed
Pull Request — master (#3)
by Helpful
16:20 queued 06:26
created
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
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @return Form
44
+     * @return Mockery\MockInterface
45 45
      */
46 46
     protected function getNewRequestMock()
47 47
     {
Please login to merge, or discard this patch.
code/SegmentField.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     /**
89 89
      * @inheritdoc
90 90
      *
91
-     * @param mixed $request
91
+     * @param \Mockery\MockInterface $request
92 92
      *
93 93
      * @return string
94 94
      */
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
     /**
122 122
      * @param SegmentFieldModifier $modifier
123
-     * @param mixed $form
123
+     * @param \Form $form
124 124
      * @param mixed $request
125 125
      *
126 126
      * @return $this
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
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @return Form
44
+     * @return Mockery\MockInterface
45 45
      */
46 46
     protected function getNewRequestMock()
47 47
     {
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,7 +71,7 @@  discard block
 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
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @return Form
82
+     * @return Mockery\MockInterface
83 83
      */
84 84
     protected function getNewFormMock()
85 85
     {
Please login to merge, or discard this patch.