Completed
Push — ezp-30639-deprecated-view-acti... ( ce759a...cff041 )
by
unknown
13:07
created
API/Repository/Tests/SearchServiceTranslationLanguageFallbackTest.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
 
134 134
     /**
135
-     * @param array $parentLocationIds
135
+     * @param integer[] $parentLocationIds
136 136
      *
137 137
      * @return array
138 138
      */
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/LocationServiceTest.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -762,7 +762,7 @@  discard block
 block discarded – undo
762 762
     /**
763 763
      * Test for the loadLocationChildren() method.
764 764
      *
765
-     * @return \eZ\Publish\API\Repository\Values\Content\Location[]
765
+     * @return LocationList
766 766
      *
767 767
      * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset)
768 768
      * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren
@@ -826,7 +826,7 @@  discard block
 block discarded – undo
826 826
     /**
827 827
      * Test for the loadLocationChildren() method.
828 828
      *
829
-     * @return \eZ\Publish\API\Repository\Values\Content\Location[]
829
+     * @return LocationList
830 830
      *
831 831
      * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit)
832 832
      * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren
@@ -855,7 +855,7 @@  discard block
 block discarded – undo
855 855
     /**
856 856
      * Test for the loadLocationChildren() method.
857 857
      *
858
-     * @param \eZ\Publish\API\Repository\Values\Content\Location[] $locations
858
+     * @param LocationList $locations
859 859
      *
860 860
      * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit)
861 861
      * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildrenWithOffsetAndLimit
@@ -2127,7 +2127,7 @@  discard block
 block discarded – undo
2127 2127
      * Assert generated aliases to expected alias return.
2128 2128
      *
2129 2129
      * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService
2130
-     * @param array $expectedAliases
2130
+     * @param string[] $expectedAliases
2131 2131
      */
2132 2132
     protected function assertGeneratedAliases($urlAliasService, array $expectedAliases)
2133 2133
     {
@@ -2139,7 +2139,7 @@  discard block
 block discarded – undo
2139 2139
 
2140 2140
     /**
2141 2141
      * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService
2142
-     * @param array $expectedSubItemAliases
2142
+     * @param string[] $expectedSubItemAliases
2143 2143
      */
2144 2144
     private function assertAliasesBeforeCopy($urlAliasService, array $expectedSubItemAliases)
2145 2145
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Features/Context/BasicContentContext.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @param string $path The content path
115 115
      * @param array $fields
116
-     * @param mixed $contentType The content type identifier
116
+     * @param string $contentType The content type identifier
117 117
      *
118 118
      * @return mixed location id of the created content
119 119
      */
@@ -147,6 +147,7 @@  discard block
 block discarded – undo
147 147
 
148 148
     /**
149 149
      * Maps the path of the content to it's name for later use.
150
+     * @param string $path
150 151
      */
151 152
     private function mapContentPath($path)
152 153
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Features/Context/FieldTypeContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -228,6 +228,7 @@
 block discarded – undo
228 228
      *
229 229
      * @param string The field name
230 230
      * @param mixed The field value
231
+     * @param string|null $field
231 232
      */
232 233
     private function createAndPublishContent($field, $value)
233 234
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishIOBundle/DependencyInjection/EzPublishIOExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     }
62 62
 
63 63
     /**
64
-     * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|\ArrayObject
64
+     * @return ArrayObject
65 65
      */
66 66
     public function getMetadataHandlerFactories()
67 67
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     }
70 70
 
71 71
     /**
72
-     * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|\ArrayObject
72
+     * @return ArrayObject
73 73
      */
74 74
     public function getBinarydataHandlerFactories()
75 75
     {
Please login to merge, or discard this patch.
Command/LegacyStorage/RegenerateUrlAliasesCommand.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -893,6 +893,7 @@
 block discarded – undo
893 893
      * Returns total number of Locations in the database.
894 894
      *
895 895
      * The number excludes absolute root Location, which does not have an URL alias.
896
+     * @return integer
896 897
      */
897 898
     protected function getTotalLocationCount()
898 899
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/ContentTypeServiceTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -888,7 +888,7 @@  discard block
 block discarded – undo
888 888
      * Asserts that the given $actualDefinition is correctly created from the
889 889
      * create struct in $expectedCreate.
890 890
      *
891
-     * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedDefinitionCreate
891
+     * @param \eZ\Publish\API\Repository\Values\FieldDefinitionCreateStruct $expectedCreate
892 892
      * @param \eZ\Publish\API\Repository\Values\FieldDefinition $actualDefinition
893 893
      */
894 894
     protected function assertFieldDefinitionsEqual($expectedCreate, $actualDefinition)
@@ -3007,7 +3007,7 @@  discard block
 block discarded – undo
3007 3007
     /**
3008 3008
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $originalType
3009 3009
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $copiedType
3010
-     * @param array $excludedProperties
3010
+     * @param string[] $excludedProperties
3011 3011
      */
3012 3012
     private function assertCopyContentTypeValues($originalType, $copiedType, $excludedProperties = [])
3013 3013
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/SetupFactory/Legacy.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,6 +228,9 @@  discard block
 block discarded – undo
228 228
         return __DIR__ . '/../../../../../../var';
229 229
     }
230 230
 
231
+    /**
232
+     * @param string $sourceDir
233
+     */
231 234
     protected function cleanupVarDir($sourceDir)
232 235
     {
233 236
         $fs = new Filesystem();
@@ -312,7 +315,7 @@  discard block
 block discarded – undo
312 315
     /**
313 316
      * Applies the given SQL $statements to the database in use.
314 317
      *
315
-     * @param array $statements
318
+     * @param string[] $statements
316 319
      */
317 320
     protected function applyStatements(array $statements)
318 321
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/FieldType/KeywordIntegrationTest.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Get initial field data for valid object creation.
99 99
      *
100
-     * @return mixed
100
+     * @return KeywordValue
101 101
      */
102 102
     public function getValidCreationFieldData()
103 103
     {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * Get update field externals data.
175 175
      *
176
-     * @return array
176
+     * @return KeywordValue
177 177
      */
178 178
     public function getValidUpdateFieldData()
179 179
     {
@@ -353,6 +353,8 @@  discard block
 block discarded – undo
353 353
 
354 354
     /**
355 355
      * {@inheritdoc}
356
+     * @param KeywordValue $fieldData
357
+     * @param ContentType $contentType
356 358
      */
357 359
     protected function createContent($fieldData, $contentType = null)
358 360
     {
@@ -410,7 +412,7 @@  discard block
 block discarded – undo
410 412
     /**
411 413
      * Create and publish content of $contentType with $fieldData.
412 414
      *
413
-     * @param mixed $fieldData
415
+     * @param string $fieldData
414 416
      * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType
415 417
      * @param string $remoteId
416 418
      * @return \eZ\Publish\API\Repository\Values\Content\Content
Please login to merge, or discard this patch.