Completed
Push — ezp26297-rest_embedding_http_c... ( 86d202 )
by
unknown
55:16 queued 26:18
created
eZ/Publish/Core/REST/Server/Output/ValueObjectVisitor/Role.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *
27 27
      * @param \eZ\Publish\Core\REST\Common\Output\Visitor $visitor
28 28
      * @param \eZ\Publish\Core\REST\Common\Output\Generator $generator
29
-     * @param Role|RoleDraft $data
29
+     * @param \eZ\Publish\Core\REST\Server\Values\RestRole $data
30 30
      */
31 31
     public function visit(Visitor $visitor, Generator $generator, $data)
32 32
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Controller/ContentType.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      *
193 193
      * @param $contentTypeId
194 194
      *
195
-     * @return \eZ\Publish\Core\REST\Server\Values\RestContentType
195
+     * @return Values\CachedValue
196 196
      */
197 197
     public function loadContentType($contentTypeId)
198 198
     {
@@ -615,7 +615,7 @@  discard block
 block discarded – undo
615 615
      * @throws \eZ\Publish\Core\REST\Server\Exceptions\ForbiddenException
616 616
      * @throws \eZ\Publish\Core\REST\Common\Exceptions\NotFoundException
617 617
      *
618
-     * @return \eZ\Publish\Core\REST\Server\Values\FieldDefinitionList
618
+     * @return Values\RestFieldDefinition
619 619
      */
620 620
     public function updateContentTypeDraftFieldDefinition($contentTypeId, $fieldDefinitionId, Request $request)
621 621
     {
Please login to merge, or discard this patch.
Core/REST/Server/Tests/Output/PathExpansion/ExpansionGeneratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
     }
199 199
 
200 200
     /**
201
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\REST\Common\Output\Generator
201
+     * @return \eZ\Publish\Core\REST\Common\Output\Generator
202 202
      */
203 203
     protected function getInnerGeneratorMock()
204 204
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/REST/Server/Values/ResourceRouteReference.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * ResourceRouteReference constructor.
37
-     * @param array $route
37
+     * @param string $route
38 38
      * @param $loadParameters
39 39
      * @param string $mediaType The media-type name (ContentInfo, Location) of the resource. If null, the default will be used.
40 40
      */
Please login to merge, or discard this patch.
Server/Tests/Output/PathExpansion/RequestHeaderPathExpansionCheckerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
         self::assertFalse($checker->needsExpansion('Location.urlAliases'));
60 60
     }
61 61
 
62
+    /**
63
+     * @param string $headerValue
64
+     */
62 65
     private function buildRequestStackWithHeader($headerValue)
63 66
     {
64 67
         $requestStack = new RequestStack();
Please login to merge, or discard this patch.
Core/REST/Server/Tests/Output/ValueObjectVisitor/RestExecutedViewTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,10 +15,9 @@
 block discarded – undo
15 15
 use eZ\Publish\API\Repository\Values\Content\Search\SearchResult;
16 16
 use eZ\Publish\Core\REST\Common\Tests\Output\ValueObjectVisitorBaseTest;
17 17
 use eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor;
18
-use eZ\Publish\Core\Repository\Values\Content;
18
+use eZ\Publish\Core\Repository\Values\Content as ApiValues;
19 19
 use eZ\Publish\Core\REST\Server\Values\ResourceRouteReference;
20 20
 use eZ\Publish\Core\REST\Server\Values\RestExecutedView;
21
-use eZ\Publish\Core\Repository\Values\Content as ApiValues;
22 21
 
23 22
 class RestExecutedViewTest extends ValueObjectVisitorBaseTest
24 23
 {
Please login to merge, or discard this patch.
Core/REST/Server/Tests/Output/ValueObjectVisitor/ResourceLinkTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     }
226 226
 
227 227
     /**
228
-     * @return \eZ\Publish\Core\REST\Server\Output\PathExpansion\ValueLoaders\UriValueLoader|\PHPUnit_Framework_MockObject_MockObject
228
+     * @return \eZ\Publish\Core\REST\Server\Output\PathExpansion\ValueLoaders\UriValueLoader
229 229
      */
230 230
     protected function getValueLoaderMock()
231 231
     {
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
     }
240 240
 
241 241
     /**
242
-     * @return \eZ\Publish\Core\REST\Server\Output\PathExpansion\PathExpansionChecker|\PHPUnit_Framework_MockObject_MockObject
242
+     * @return \eZ\Publish\Core\REST\Server\Output\PathExpansion\PathExpansionChecker
243 243
      */
244 244
     protected function getPathExpansionCheckerMock()
245 245
     {
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
     }
254 254
 
255 255
     /**
256
-     * @return \eZ\Publish\Core\REST\Common\Output\ValueObjectVisitorDispatcher|\PHPUnit_Framework_MockObject_MockObject
256
+     * @return \eZ\Publish\Core\REST\Common\Output\ValueObjectVisitorDispatcher
257 257
      */
258 258
     protected function getValueObjectVisitorDispatcherMock()
259 259
     {
Please login to merge, or discard this patch.
Server/Tests/Output/PathExpansion/ValueLoaders/UniqueUriValueLoaderTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\REST\Server\Output\PathExpansion\ValueLoaders\UriValueLoader
49
+     * @return \eZ\Publish\Core\REST\Server\Output\PathExpansion\ValueLoaders\UriValueLoader
50 50
      */
51 51
     protected function getInnerLoaderMock()
52 52
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/MVC/Symfony/Cache/Http/Proxy/TagAwareStore.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * @param string $tag    The tag key
98 98
      * @param string $digest The digest hash to store representing the cache item.
99 99
      *
100
-     * @return bool|void
100
+     * @return false|null
101 101
      */
102 102
     private function saveTag($tag, $digest)
103 103
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      *
132 132
      * @param \Symfony\Component\HttpFoundation\Request $request
133 133
      *
134
-     * @return bool True if purge was successful. False otherwise
134
+     * @return boolean|null True if purge was successful. False otherwise
135 135
      */
136 136
     public function purgeByRequest(Request $request)
137 137
     {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      *
174 174
      * @deprecated Use cache:clear, with multi tagging theoretically there shouldn't be need to delete all anymore from core.
175 175
      *
176
-     * @return bool
176
+     * @return boolean|null
177 177
      */
178 178
     public function purgeAllContent()
179 179
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      *
187 187
      * @param string $tag
188 188
      *
189
-     * @return bool
189
+     * @return false|null
190 190
      */
191 191
     private function purgeByCacheTag($tag)
192 192
     {
Please login to merge, or discard this patch.