Completed
Push — 7.1 ( 9a70e5...3cb674 )
by
unknown
27:54
created
eZ/Publish/Core/Search/Legacy/Tests/Content/HandlerLocationSortTest.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,6 +57,8 @@  discard block
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * Assert that the elements are.
60
+     * @param integer[] $expectedIds
61
+     * @param \eZ\Publish\API\Repository\Values\Content\Search\SearchResult $locations
60 62
      */
61 63
     protected function assertSearchResults($expectedIds, $locations)
62 64
     {
@@ -141,6 +143,9 @@  discard block
 block discarded – undo
141 143
 
142 144
     protected $contentTypeHandler;
143 145
 
146
+    /**
147
+     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler
148
+     */
144 149
     protected function getContentTypeHandler()
145 150
     {
146 151
         if (!isset($this->contentTypeHandler)) {
@@ -160,6 +165,9 @@  discard block
 block discarded – undo
160 165
 
161 166
     protected $fieldRegistry;
162 167
 
168
+    /**
169
+     * @return ConverterRegistry
170
+     */
163 171
     protected function getConverterRegistry()
164 172
     {
165 173
         if (!isset($this->fieldRegistry)) {
@@ -187,7 +195,7 @@  discard block
 block discarded – undo
187 195
     /**
188 196
      * Returns a location mapper mock.
189 197
      *
190
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper
198
+     * @return \PHPUnit\Framework\MockObject\MockObject
191 199
      */
192 200
     protected function getLocationMapperMock()
193 201
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Search/Legacy/Tests/Content/HandlerLocationTest.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * Assert that the elements are.
61
+     * @param \eZ\Publish\API\Repository\Values\Content\Search\SearchResult $searchResult
61 62
      */
62 63
     protected function assertSearchResults($expectedIds, $searchResult)
63 64
     {
@@ -209,6 +210,9 @@  discard block
 block discarded – undo
209 210
 
210 211
     protected $contentTypeHandler;
211 212
 
213
+    /**
214
+     * @return \eZ\Publish\SPI\Persistence\Content\Type\Handler
215
+     */
212 216
     protected function getContentTypeHandler()
213 217
     {
214 218
         if (!isset($this->contentTypeHandler)) {
@@ -228,6 +232,9 @@  discard block
 block discarded – undo
228 232
 
229 233
     protected $fieldRegistry;
230 234
 
235
+    /**
236
+     * @return ConverterRegistry
237
+     */
231 238
     protected function getConverterRegistry()
232 239
     {
233 240
         if (!isset($this->fieldRegistry)) {
@@ -251,7 +258,7 @@  discard block
 block discarded – undo
251 258
     /**
252 259
      * Returns a location mapper mock.
253 260
      *
254
-     * @return \eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper
261
+     * @return \PHPUnit\Framework\MockObject\MockObject
255 262
      */
256 263
     protected function getLocationMapperMock()
257 264
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/SignalSlot/Tests/ServiceTest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -154,8 +154,8 @@  discard block
 block discarded – undo
154 154
     /**
155 155
      * Creates a User object from $userId, $userRemoteId and $userVersionNo.
156 156
      *
157
-     * @param mixed $userId
158
-     * @param mixed $userRemoteId
157
+     * @param integer $userId
158
+     * @param string $userRemoteId
159 159
      * @param int $userVersionNo
160 160
      *
161 161
      * @return \eZ\Publish\Core\Repository\Values\User\User
@@ -177,8 +177,8 @@  discard block
 block discarded – undo
177 177
     /**
178 178
      * Returns a new UserGroup.
179 179
      *
180
-     * @param mixed $groupId
181
-     * @param mixed $groupRemoteId
180
+     * @param integer $groupId
181
+     * @param string $groupRemoteId
182 182
      * @param int $groupVersioNo
183 183
      *
184 184
      * @return \eZ\Publish\Core\Repository\Values\User\UserGroup
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Tests/Input/Parser/ContentTypeUpdateTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * Get the content type service mock object.
91 91
      *
92
-     * @return \eZ\Publish\API\Repository\ContentTypeService
92
+     * @return \PHPUnit\Framework\MockObject\MockObject
93 93
      */
94 94
     protected function getContentTypeServiceMock()
95 95
     {
Please login to merge, or discard this patch.
Publish/Core/REST/Server/Tests/Input/Parser/FieldDefinitionUpdateTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
     /**
196 196
      * Get the FieldTypeParser mock object.
197 197
      *
198
-     * @return \eZ\Publish\Core\REST\Common\Input\FieldTypeParser
198
+     * @return \PHPUnit\Framework\MockObject\MockObject
199 199
      */
200 200
     protected function getFieldTypeParserMock()
201 201
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     /**
229 229
      * Get the content type service mock object.
230 230
      *
231
-     * @return \eZ\Publish\API\Repository\ContentTypeService
231
+     * @return \PHPUnit\Framework\MockObject\MockObject
232 232
      */
233 233
     protected function getContentTypeServiceMock()
234 234
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Tests/Input/Parser/LocationUpdateTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
     /**
179 179
      * Get the location service mock object.
180 180
      *
181
-     * @return \eZ\Publish\API\Repository\LocationService
181
+     * @return \PHPUnit\Framework\MockObject\MockObject
182 182
      */
183 183
     protected function getLocationServiceMock()
184 184
     {
Please login to merge, or discard this patch.
Publish/Core/REST/Server/Tests/Input/Parser/ObjectStateGroupCreateTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@
 block discarded – undo
249 249
     /**
250 250
      * Get the object state service mock object.
251 251
      *
252
-     * @return \eZ\Publish\API\Repository\ObjectStateService
252
+     * @return \PHPUnit\Framework\MockObject\MockObject
253 253
      */
254 254
     protected function getObjectStateServiceMock()
255 255
     {
Please login to merge, or discard this patch.
Publish/Core/REST/Server/Tests/Input/Parser/ObjectStateGroupUpdateTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@
 block discarded – undo
249 249
     /**
250 250
      * Get the object state service mock object.
251 251
      *
252
-     * @return \eZ\Publish\API\Repository\ObjectStateService
252
+     * @return \PHPUnit\Framework\MockObject\MockObject
253 253
      */
254 254
     protected function getObjectStateServiceMock()
255 255
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Tests/Input/Parser/ObjectStateUpdateTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@
 block discarded – undo
249 249
     /**
250 250
      * Get the object state service mock object.
251 251
      *
252
-     * @return \eZ\Publish\API\Repository\ObjectStateService
252
+     * @return \PHPUnit\Framework\MockObject\MockObject
253 253
      */
254 254
     protected function getObjectStateServiceMock()
255 255
     {
Please login to merge, or discard this patch.