Completed
Push — EZP-26146-location-swap-urlali... ( d118c8...fe7f61 )
by
unknown
39:43 queued 19:44
created
eZ/Publish/Core/FieldType/Url/Type.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      *
107 107
      * @param \eZ\Publish\Core\FieldType\Url\Value $value
108 108
      *
109
-     * @return array
109
+     * @return boolean
110 110
      */
111 111
     protected function getSortInfo(BaseValue $value)
112 112
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Url/UrlStorage/Gateway/LegacyStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
      *
133 133
      * @param string $url The URL to insert in the database
134 134
      *
135
-     * @return int
135
+     * @return string
136 136
      */
137 137
     public function insertUrl($url)
138 138
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/IO/IOMetadataHandler.php 1 patch
Doc Comments   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,15 +32,16 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If $path is not found
34 34
      *
35
-     * @param string $path
35
+     * @param string $spiBinaryFileId
36
+     * @return void
36 37
      */
37 38
     public function delete($spiBinaryFileId);
38 39
 
39 40
     /**
40 41
      * Loads and returns metadata for $path.
41 42
      *
42
-     * @param string $path
43 43
      *
44
+     * @param string $spiBinaryFileId
44 45
      * @return BinaryFile
45 46
      */
46 47
     public function load($spiBinaryFileId);
@@ -48,8 +49,8 @@  discard block
 block discarded – undo
48 49
     /**
49 50
      * Checks if a file $path exists.
50 51
      *
51
-     * @param string $path
52 52
      *
53
+     * @param string $spiBinaryFileId
53 54
      * @return bool
54 55
      */
55 56
     public function exists($spiBinaryFileId);
@@ -57,11 +58,16 @@  discard block
 block discarded – undo
57 58
     /**
58 59
      * Returns the file's mimetype. Example: text/plain.
59 60
      *
60
-     * @param $spiBinaryFileId
61
+     * @param string $spiBinaryFileId
61 62
      *
62 63
      * @return string
63 64
      */
64 65
     public function getMimeType($spiBinaryFileId);
65 66
 
67
+    /**
68
+     * @param string $spiPath
69
+     *
70
+     * @return void
71
+     */
66 72
     public function deleteDirectory($spiPath);
67 73
 }
Please login to merge, or discard this patch.
eZ/Publish/Core/IO/IOMetadataHandler/LegacyDFSCluster.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,6 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException If a file $spiBinaryFileId already exists
51 51
      *
52
-     * @param string  $spiBinaryFileId
53 52
      *
54 53
      * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException if an error occurs creating the record
55 54
      * @throws RuntimeException if a DBAL error occurs
@@ -166,7 +165,7 @@  discard block
 block discarded – undo
166 165
     /**
167 166
      * @param SPIBinaryFileCreateStruct $binaryFileCreateStruct
168 167
      *
169
-     * @return mixed
168
+     * @return string
170 169
      */
171 170
     protected function getNameTrunk(SPIBinaryFileCreateStruct $binaryFileCreateStruct)
172 171
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/IO/IOService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@
 block discarded – undo
278 278
     }
279 279
 
280 280
     /**
281
-     * @param mixed $spiBinaryFileId
281
+     * @param string $spiBinaryFileId
282 282
      *
283 283
      * @return string
284 284
      *
Please login to merge, or discard this patch.
eZ/Publish/Core/IO/Tests/IOServiceTest.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      * @covers \eZ\Publish\Core\IO\IOService::loadBinaryFile
219 219
      * @expectedException \eZ\Publish\Core\Base\Exceptions\NotFoundException
220 220
      *
221
-     * @return mixed Whatever loadBinaryFile returns
221
+     * @return BinaryFile Whatever loadBinaryFile returns
222 222
      */
223 223
     public function testLoadBinaryFileNotFound()
224 224
     {
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     }
263 263
 
264 264
     /**
265
-     * @return mixed Whatever loadBinaryFileByUri returns
265
+     * @return BinaryFile Whatever loadBinaryFileByUri returns
266 266
      * @expectedException \eZ\Publish\Core\Base\Exceptions\NotFoundException
267 267
      */
268 268
     public function testLoadBinaryFileByUriNotFound()
@@ -450,8 +450,9 @@  discard block
 block discarded – undo
450 450
      * Asserts that the given $ioCreateStruct is of the right type and that id matches the expected value.
451 451
      *
452 452
      * @param $ioCreateStruct
453
+     * @param string $spiId
453 454
      *
454
-     * @return bool
455
+     * @return \Closure
455 456
      */
456 457
     private function getSPIBinaryFileCreateStructCallback($spiId)
457 458
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Limitation/Tests/ParentContentTypeLimitationTypeTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -474,6 +474,9 @@
 block discarded – undo
474 474
         );
475 475
     }
476 476
 
477
+    /**
478
+     * @param boolean $persistenceCalled
479
+     */
477 480
     protected function assertContentHandlerExpectations($callNo, $persistenceCalled, $contentId, $contentInfo)
478 481
     {
479 482
         $this->getPersistenceMock()
Please login to merge, or discard this patch.
eZ/Publish/Core/MVC/Symfony/Cache/Http/LocalPurgeClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * Triggers the cache purge $cacheElements.
34 34
      *
35
-     * @param mixed $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy)
35
+     * @param integer[] $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy)
36 36
      */
37 37
     public function purge($locationIds)
38 38
     {
Please login to merge, or discard this patch.
MVC/Symfony/Cache/Tests/Http/SignalSlot/AbstractPurgeForContentSlotTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     private static $contentId = 42;
14 14
 
15 15
     /**
16
-     * @return mixed
16
+     * @return integer
17 17
      */
18 18
     public static function getContentId()
19 19
     {
Please login to merge, or discard this patch.