Completed
Pull Request — master (#131)
by Bart
02:39 queued 54s
created
tests/unit/Mappers/UserSettingsMapperTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     }
160 160
 
161 161
     /**
162
-     * @return Mock|FieldLayout
162
+     * @return \PHPUnit\Framework\MockObject\MockObject
163 163
      */
164 164
     private function getMockFieldLayout()
165 165
     {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      * @param int  $fieldId
188 188
      * @param bool $required
189 189
      *
190
-     * @return Mock|Field
190
+     * @return \PHPUnit\Framework\MockObject\MockObject
191 191
      */
192 192
     private function getMockField(int $fieldId, bool $required)
193 193
     {
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
     /**
206 206
      * Get mock volume.
207 207
      *
208
-     * @return Mock|Volume
208
+     * @return \PHPUnit\Framework\MockObject\MockObject
209 209
      */
210 210
     private function getMockVolume()
211 211
     {
Please login to merge, or discard this patch.
tests/unit/Converters/Fields/AssetsTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * @param int $assetsId
151 151
      * @param int $groupId
152 152
      *
153
-     * @return Mock|AssetsField
153
+     * @return \PHPUnit\Framework\MockObject\MockObject
154 154
      */
155 155
     private function getMockAssets(int $assetsId, int $groupId)
156 156
     {
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      *
180 180
      * @param int $groupId
181 181
      *
182
-     * @return Mock|FieldGroup
182
+     * @return \PHPUnit\Framework\MockObject\MockObject
183 183
      */
184 184
     private function getMockFieldGroup(int $groupId)
185 185
     {
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
      *
199 199
      * @param int $volumeId
200 200
      *
201
-     * @return Mock|Volume
201
+     * @return \PHPUnit\Framework\MockObject\MockObject
202 202
      */
203 203
     private function getMockVolume(int $volumeId)
204 204
     {
Please login to merge, or discard this patch.
tests/unit/Converters/Fields/MatrixTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      * @param int $matrixId
158 158
      * @param int $groupId
159 159
      *
160
-     * @return Mock|MatrixField
160
+     * @return \PHPUnit\Framework\MockObject\MockObject
161 161
      */
162 162
     private function getMockMatrix(int $matrixId, int $groupId)
163 163
     {
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
      *
191 191
      * @param int $groupId
192 192
      *
193
-     * @return Mock|FieldGroup
193
+     * @return \PHPUnit\Framework\MockObject\MockObject
194 194
      */
195 195
     private function getMockFieldGroup(int $groupId)
196 196
     {
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      *
210 210
      * @param int $blockId
211 211
      *
212
-     * @return Mock|MatrixBlockType
212
+     * @return \PHPUnit\Framework\MockObject\MockObject
213 213
      */
214 214
     private function getMockMatrixBlockType($blockId)
215 215
     {
Please login to merge, or discard this patch.
tests/unit/Converters/Base/FieldTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
      * @param int $fieldId
245 245
      * @param int $groupId
246 246
      *
247
-     * @return Mock|Categories
247
+     * @return FieldModel
248 248
      */
249 249
     private function getMockCategoriesField(int $fieldId, int $groupId)
250 250
     {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     }
262 262
 
263 263
     /**
264
-     * @param Mock|FieldModel $mockField
264
+     * @param FieldModel $mockField
265 265
      * @param int             $fieldId
266 266
      * @param int             $groupId
267 267
      */
Please login to merge, or discard this patch.