Completed
Push — 6.13 ( d61c2f...f74f99 )
by Marek
57:01 queued 11s
created
eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,6 +161,9 @@  discard block
 block discarded – undo
161 161
         }
162 162
     }
163 163
 
164
+    /**
165
+     * @param boolean $commit
166
+     */
164 167
     protected function indexIncrementally(InputInterface $input, OutputInterface $output, $iterationCount, $commit)
165 168
     {
166 169
         if ($contentIds = $input->getOption('content-ids')) {
@@ -223,6 +226,10 @@  discard block
 block discarded – undo
223 226
         $progress->finish();
224 227
     }
225 228
 
229
+    /**
230
+     * @param integer $processCount
231
+     * @param integer $iterationCount
232
+     */
226 233
     private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit)
227 234
     {
228 235
         /**
@@ -277,7 +284,7 @@  discard block
 block discarded – undo
277 284
     }
278 285
 
279 286
     /**
280
-     * @param mixed $locationId
287
+     * @param integer $locationId
281 288
      * @param bool $count
282 289
      *
283 290
      * @return \Doctrine\DBAL\Driver\Statement
Please login to merge, or discard this patch.
Tests/EventListener/BackgroundIndexingTerminateListenerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     /**
91 91
      * @dataProvider indexingProvider
92 92
      *
93
-     * @param array|null $value
93
+     * @param array|null $values
94 94
      * @param \Psr\Log\LoggerInterface|\PHPUnit_Framework_MockObject_MockObject|null $logger
95 95
      */
96 96
     public function testIndexing(array $values = null, $logger = null)
Please login to merge, or discard this patch.
Tests/DependencyInjection/Compiler/HttpCachePassTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * @dataProvider processPurgeClientProvider
63 63
      *
64 64
      * @param string $paramValue
65
-     * @param string $expectedServiceAlias
65
+     * @param string $expectedServiceId
66 66
      * @param \Symfony\Component\DependencyInjection\Definition|null $customService
67 67
      */
68 68
     public function testProcessPurgeClient($paramValue, $expectedServiceId, Definition $customService = null)
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseURLServiceTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
  */
16 16
 abstract class BaseURLServiceTest extends BaseTest
17 17
 {
18
+    /**
19
+     * @param integer $exectedTotalCount
20
+     */
18 21
     protected function doTestFindUrls(URLQuery $query, array $expectedUrls, $exectedTotalCount = null, $ignoreOrder = true)
19 22
     {
20 23
         $repository = $this->getRepository();
@@ -32,6 +35,9 @@  discard block
 block discarded – undo
32 35
         $this->assertSearchResultItems($searchResult, $expectedUrls, $ignoreOrder);
33 36
     }
34 37
 
38
+    /**
39
+     * @param boolean $ignoreOrder
40
+     */
35 41
     protected function assertSearchResultItems(SearchResult $searchResult, array $expectedUrls, $ignoreOrder)
36 42
     {
37 43
         $this->assertCount(count($expectedUrls), $searchResult->items);
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/BaseTest.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,6 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param \eZ\Publish\API\Repository\Values\ValueObject $expectedValues
214 214
      * @param \eZ\Publish\API\Repository\Values\ValueObject $actualObject
215
-     * @param array $propertyNames
216 215
      */
217 216
     protected function assertStructPropertiesCorrect(ValueObject $expectedValues, ValueObject $actualObject, array $additionalProperties = array())
218 217
     {
@@ -474,7 +473,7 @@  discard block
 block discarded – undo
474 473
     /**
475 474
      * Create role of a given name with the given policies described by an array.
476 475
      *
477
-     * @param $roleName
476
+     * @param string $roleName
478 477
      * @param array $policiesData [['module' => 'content', 'function' => 'read', 'limitations' => []]
479 478
      *
480 479
      * @return \eZ\Publish\API\Repository\Values\User\Role
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Features/Context/RestClient/BuzzDriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     /**
124 124
      * Get response status code.
125 125
      *
126
-     * @return string
126
+     * @return integer
127 127
      *
128 128
      * @throws \RuntimeException If request hasn't been send already
129 129
      */
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/TrashServiceTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -886,6 +886,7 @@
 block discarded – undo
886 886
 
887 887
     /**
888 888
      * Get Test Double for TrashItem for exception testing and similar.
889
+     * @param integer $trashId
889 890
      */
890 891
     private function getTrashItemDouble($trashId, $contentId = 44, $parentLocationId = 2)
891 892
     {
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/URLAliasServiceTest.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1270,7 +1270,7 @@  discard block
 block discarded – undo
1270 1270
 
1271 1271
     /**
1272 1272
      * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo
1273
-     * @param $fieldDefinitionIdentifier
1273
+     * @param string $fieldDefinitionIdentifier
1274 1274
      * @param array $fieldValues
1275 1275
      *
1276 1276
      * @return \eZ\Publish\API\Repository\Values\Content\Content
@@ -1387,6 +1387,10 @@  discard block
 block discarded – undo
1387 1387
         $contentTypeService->publishContentTypeDraft($contentTypeDraft);
1388 1388
     }
1389 1389
 
1390
+    /**
1391
+     * @param string $expectedPath
1392
+     * @param boolean $expectedIsHistory
1393
+     */
1390 1394
     private function assertUrlAliasPropertiesCorrect(
1391 1395
         Location $expectedDestinationLocation,
1392 1396
         $expectedPath,
Please login to merge, or discard this patch.
eZ/Publish/API/Repository/Tests/LocationServiceTest.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -763,7 +763,7 @@  discard block
 block discarded – undo
763 763
     /**
764 764
      * Test for the loadLocationChildren() method.
765 765
      *
766
-     * @return \eZ\Publish\API\Repository\Values\Content\Location[]
766
+     * @return LocationList
767 767
      *
768 768
      * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset)
769 769
      * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
     /**
828 828
      * Test for the loadLocationChildren() method.
829 829
      *
830
-     * @return \eZ\Publish\API\Repository\Values\Content\Location[]
830
+     * @return LocationList
831 831
      *
832 832
      * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit)
833 833
      * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren
@@ -856,7 +856,7 @@  discard block
 block discarded – undo
856 856
     /**
857 857
      * Test for the loadLocationChildren() method.
858 858
      *
859
-     * @param \eZ\Publish\API\Repository\Values\Content\Location[] $locations
859
+     * @param LocationList $locations
860 860
      *
861 861
      * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit)
862 862
      * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildrenWithOffsetAndLimit
@@ -1140,7 +1140,7 @@  discard block
 block discarded – undo
1140 1140
      * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException
1141 1141
      * @throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException
1142 1142
      *
1143
-     * @return int[]
1143
+     * @return Content[]
1144 1144
      */
1145 1145
     public function testSwapLocationForMainAndSecondaryLocation()
1146 1146
     {
@@ -2342,7 +2342,7 @@  discard block
 block discarded – undo
2342 2342
      * Assert generated aliases to expected alias return.
2343 2343
      *
2344 2344
      * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService
2345
-     * @param array $expectedAliases
2345
+     * @param string[] $expectedAliases
2346 2346
      */
2347 2347
     protected function assertGeneratedAliases($urlAliasService, array $expectedAliases)
2348 2348
     {
@@ -2354,7 +2354,7 @@  discard block
 block discarded – undo
2354 2354
 
2355 2355
     /**
2356 2356
      * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService
2357
-     * @param array $expectedSubItemAliases
2357
+     * @param string[] $expectedSubItemAliases
2358 2358
      */
2359 2359
     private function assertAliasesBeforeCopy($urlAliasService, array $expectedSubItemAliases)
2360 2360
     {
Please login to merge, or discard this patch.