Completed
Push — EZP-30643 ( f3ae16 )
by
unknown
22:04
created
eZ/Publish/Core/FieldType/Author/Type.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param string $name
214 214
      *
215
-     * @return \eZ\Publish\SPI\FieldType\ValidationError|null
215
+     * @return ValidationError|null
216 216
      */
217 217
     private function validateSettingName($name)
218 218
     {
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      * @param string $name
237 237
      * @param string $value
238 238
      *
239
-     * @return \eZ\Publish\SPI\FieldType\ValidationError|null
239
+     * @return ValidationError|null
240 240
      */
241 241
     private function validateDefaultAuthorSetting($name, $value)
242 242
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/TrashServiceAuthorizationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace eZ\Publish\API\Repository\Tests;
10 10
 
11 11
 use eZ\Publish\API\Repository\Exceptions\UnauthorizedException;
12
-use eZ\Publish\API\Repository\Values\Content\Location;
13 12
 use eZ\Publish\API\Repository\Values\User\Limitation\ObjectStateLimitation;
14 13
 use eZ\Publish\Core\Repository\Repository;
15 14
 use eZ\Publish\Core\Repository\TrashService;
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/Tests/Service/Mock/DomainMapperTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,10 @@
 block discarded – undo
15 15
 use eZ\Publish\Core\Repository\Tests\Service\Mock\Base as BaseServiceMockTest;
16 16
 use eZ\Publish\Core\Repository\Helper\DomainMapper;
17 17
 use eZ\Publish\Core\Repository\Values\Content\Content;
18
-use eZ\Publish\SPI\Persistence\Content\ContentInfo;
18
+use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo;
19 19
 use eZ\Publish\SPI\Persistence\Content\Location;
20 20
 use eZ\Publish\API\Repository\Values\Content\Location as APILocation;
21 21
 use eZ\Publish\SPI\Persistence\Content\VersionInfo as SPIVersionInfo;
22
-use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo;
23 22
 
24 23
 /**
25 24
  * Mock test case for internal DomainMapper.
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Features/Context/ConsoleContext.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
         $this->it['siteaccess'] = $this->scriptOutput;
105 105
     }
106 106
 
107
+    /**
108
+     * @param string $command
109
+     */
107 110
     private function iRunTheCommand($command, $siteaccess = null)
108 111
     {
109 112
         $phpFinder = new PhpExecutableFinder();
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Command/TestInitDbCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
     /**
160 160
      * Applies the given SQL $statements to the database in use.
161 161
      *
162
-     * @param array $statements
162
+     * @param string[] $statements
163 163
      */
164 164
     protected function applyStatements(array $statements)
165 165
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/SearchEngineIndexingTest.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -814,7 +814,6 @@  discard block
 block discarded – undo
814 814
      *
815 815
      * @param string $text Content Item field value text (to be indexed)
816 816
      * @param string $searchForText text based on which Content Item should be found
817
-     * @param array $ignoreForSetupFactories list of SetupFactories to be ignored
818 817
      * @dataProvider getSpecialFullTextCases
819 818
      */
820 819
     public function testIndexingSpecialFullTextCases($text, $searchForText)
@@ -1184,8 +1183,8 @@  discard block
 block discarded – undo
1184 1183
      * $parentLocationIdList.
1185 1184
      *
1186 1185
      * @param string $contentName
1187
-     * @param $contentDescription
1188
-     * @param array $parentLocationIdList
1186
+     * @param string $contentDescription
1187
+     * @param integer[] $parentLocationIdList
1189 1188
      *
1190 1189
      * @return \eZ\Publish\API\Repository\Values\Content\Content
1191 1190
      */
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Features/Context/ContentTypeContext.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * @param  string  $identifier       content type identifier
128 128
      * @param  bool $throwIfNotFound  if true, throws an exception if it is not found.
129 129
      *
130
-     * @return \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup|null
130
+     * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType
131 131
      */
132 132
     protected function loadContentTypeByIdentifier($identifier, $throwIfNotFound = true)
133 133
     {
@@ -151,9 +151,9 @@  discard block
 block discarded – undo
151 151
      *
152 152
      * @param  string $groupIdentifier content type group identifier
153 153
      * @param  string $identifier      content type identifier
154
-     * @param  array $fields           content type fields definitions
154
+     * @param  TableNode $fields           content type fields definitions
155 155
      *
156
-     * @return eZ\Publish\API\Repository\Values\ContentType\ContentType
156
+     * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType
157 157
      */
158 158
     public function createContentType($groupIdentifier, $identifier, $fields)
159 159
     {
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
     /**
202 202
      * Remove the given 'ContentType' object.
203 203
      *
204
-     * @param  eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType
204
+     * @param  \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType
205 205
      */
206 206
     protected function removeContentType($contentType)
207 207
     {
Please login to merge, or discard this patch.
eZ/Publish/Core/Persistence/Legacy/Content/Handler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 use Exception;
12 12
 use eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway as LocationGateway;
13
-use eZ\Publish\SPI\Persistence\Content\Field;
14 13
 use eZ\Publish\SPI\Persistence\Content\Handler as BaseContentHandler;
15 14
 use eZ\Publish\SPI\Persistence\Content\Type\Handler as ContentTypeHandler;
16 15
 use eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter;
Please login to merge, or discard this patch.
eZ/Publish/Core/Repository/ContentService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use eZ\Publish\API\Repository\Repository as RepositoryInterface;
13 13
 use eZ\Publish\Core\Repository\Values\Content\Location;
14 14
 use eZ\Publish\API\Repository\Values\Content\Language;
15
-use eZ\Publish\SPI\Persistence\Content\Type;
16 15
 use eZ\Publish\SPI\Persistence\Handler;
17 16
 use eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct as APIContentUpdateStruct;
18 17
 use eZ\Publish\API\Repository\Values\ContentType\ContentType;
Please login to merge, or discard this patch.