Completed
Push — 6.3 ( c4abe5...ec2e3c )
by André
156:21 queued 131:53
created
eZ/Publish/Core/FieldType/Tests/Url/UrlStorageTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
     }
235 235
 
236 236
     /**
237
-     * @param array $methods
237
+     * @param string[] $methods
238 238
      *
239 239
      * @return \eZ\Publish\Core\FieldType\Url\UrlStorage|\PHPUnit_Framework_MockObject_MockObject
240 240
      */
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
     }
252 252
 
253 253
     /**
254
-     * @return array
254
+     * @return string[]
255 255
      */
256 256
     protected function getContext()
257 257
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/UrlTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * NOT take care for test case wide caching of the field type, just return
29 29
      * a new instance from this method!
30 30
      *
31
-     * @return FieldType
31
+     * @return UrlType
32 32
      */
33 33
     protected function createFieldTypeUnderTest()
34 34
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Tests/UserTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * NOT take care for test case wide caching of the field type, just return
29 29
      * a new instance from this method!
30 30
      *
31
-     * @return FieldType
31
+     * @return UserType
32 32
      */
33 33
     protected function createFieldTypeUnderTest()
34 34
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/TextBlock/Type.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
      * Returns if the given $value is considered empty by the field type.
73 73
      *
74
-     * @param mixed $value
74
+     * @param SPIValue $value
75 75
      *
76 76
      * @return bool
77 77
      */
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      *
120 120
      * @param \eZ\Publish\Core\FieldType\TextBlock\Value $value
121 121
      *
122
-     * @return array
122
+     * @return boolean
123 123
      */
124 124
     protected function getSortInfo(BaseValue $value)
125 125
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/TextLine/Type.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     /**
184 184
      * Returns if the given $value is considered empty by the field type.
185 185
      *
186
-     * @param mixed $value
186
+     * @param SPIValue $value
187 187
      *
188 188
      * @return bool
189 189
      */
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      *
232 232
      * @param \eZ\Publish\Core\FieldType\TextLine\Value $value
233 233
      *
234
-     * @return array
234
+     * @return string
235 235
      */
236 236
     protected function getSortInfo(BaseValue $value)
237 237
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/FieldType/Url/SearchField.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
      * @param \eZ\Publish\SPI\Persistence\Content\Field $field
27 27
      * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition
28 28
      *
29
-     * @return \eZ\Publish\SPI\Search\Field[]
29
+     * @return Search\Field[]
30 30
      */
31 31
     public function getIndexData(Field $field, FieldDefinition $fieldDefinition)
32 32
     {
Please login to merge, or discard this patch.
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.