Completed
Push — cs-fix-header-comment ( 27e626 )
by
unknown
27:18
created
eZ/Bundle/EzPublishCoreBundle/Command/ReindexCommand.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,6 +178,9 @@  discard block
 block discarded – undo
178 178
         }
179 179
     }
180 180
 
181
+    /**
182
+     * @param boolean $commit
183
+     */
181 184
     protected function indexIncrementally(InputInterface $input, OutputInterface $output, $iterationCount, $commit)
182 185
     {
183 186
         if ($contentIds = $input->getOption('content-ids')) {
@@ -245,6 +248,10 @@  discard block
 block discarded – undo
245 248
         $progress->finish();
246 249
     }
247 250
 
251
+    /**
252
+     * @param integer $processCount
253
+     * @param integer $iterationCount
254
+     */
248 255
     private function runParallelProcess(ProgressBar $progress, Statement $stmt, $processCount, $iterationCount, $commit)
249 256
     {
250 257
         /** @var null[]|\Symfony\Component\Process\Process[] */
@@ -301,7 +308,7 @@  discard block
 block discarded – undo
301 308
     }
302 309
 
303 310
     /**
304
-     * @param mixed $locationId
311
+     * @param integer $locationId
305 312
      * @param bool $count
306 313
      *
307 314
      * @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
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     /**
80 80
      * @dataProvider indexingProvider
81 81
      *
82
-     * @param array|null $value
82
+     * @param array|null $values
83 83
      * @param \PHPUnit\Framework\MockObject\MockObject|\Psr\Log\LoggerInterface|null $logger
84 84
      */
85 85
     public function testIndexing(array $values = null, $logger = null)
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishCoreBundle/Tests/Routing/DefaultRouterTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param array $mockedMethods
47
+     * @param string[] $mockedMethods
48 48
      *
49 49
      * @return DefaultRouter|\PHPUnit\Framework\MockObject\MockObject
50 50
      */
@@ -311,6 +311,9 @@  discard block
 block discarded – undo
311 311
         ];
312 312
     }
313 313
 
314
+    /**
315
+     * @param string $uri
316
+     */
314 317
     private function getExpectedRequestContext($uri)
315 318
     {
316 319
         $requestContext = new RequestContext();
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishIOBundle/BinaryStreamResponse.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@  discard block
 block discarded – undo
41 41
      * @param array               $headers            An array of response headers
42 42
      * @param bool                $public             Files are public by default
43 43
      * @param string|null         $contentDisposition The type of Content-Disposition to set automatically with the filename
44
-     * @param bool                $autoEtag           Whether the ETag header should be automatically set
45 44
      * @param bool                $autoLastModified   Whether the Last-Modified header should be automatically set
46 45
      */
47 46
     public function __construct(BinaryFile $binaryFile, IOServiceInterface $ioService, $status = 200, $headers = [], $public = true, $contentDisposition = null, $autoLastModified = true)
@@ -60,12 +59,11 @@  discard block
 block discarded – undo
60 59
     /**
61 60
      * Sets the file to stream.
62 61
      *
63
-     * @param \SplFileInfo|string $file The file to stream
62
+     * @param BinaryFile $file The file to stream
64 63
      * @param string $contentDisposition
65
-     * @param bool $autoEtag
66 64
      * @param bool $autoLastModified
67 65
      *
68
-     * @return BinaryFileResponse
66
+     * @return BinaryStreamResponse
69 67
      */
70 68
     public function setFile($file, $contentDisposition = null, $autoLastModified = true)
71 69
     {
Please login to merge, or discard this patch.
EzPublishIOBundle/DependencyInjection/Compiler/IOConfigurationPass.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * @param ContainerBuilder $container
73 73
      * @param Definition $factory The factory service that should receive the list of handlers
74 74
      * @param array $configuredHandlers Handlers configuration declared via semantic config
75
-     * @param ArrayObject|\eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[] $factories Map of alias => handler service id
75
+     * @param ArrayObject $factories Map of alias => handler service id
76 76
      * @param string $defaultHandler default handler id
77 77
      *
78 78
      * @internal param $HandlerTypesMap
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * Returns from $factories the factory for handler $type.
106 106
      *
107 107
      * @param ContainerBuilder $container
108
-     * @param ArrayObject|ContainerAware[]|\eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[] $factories
108
+     * @param ArrayObject $factories
109 109
      * @param string $type
110 110
      *
111 111
      * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishIOBundle/DependencyInjection/Configuration.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * @param NodeDefinition $node
58
-     * @param                $name
58
+     * @param                string $name
59 59
      * @param string $info block info line
60
-     * @param ArrayObject|ConfigurationFactory[] $factories
60
+     * @param ArrayObject $factories
61 61
      */
62 62
     private function addHandlersSection(NodeDefinition $node, $name, $info, ArrayObject $factories)
63 63
     {
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
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     }
57 57
 
58 58
     /**
59
-     * @return \ArrayObject|\eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]
59
+     * @return ArrayObject
60 60
      */
61 61
     public function getMetadataHandlerFactories()
62 62
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-     * @return \ArrayObject|\eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]
67
+     * @return ArrayObject
68 68
      */
69 69
     public function getBinarydataHandlerFactories()
70 70
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/EventListener/CsrfListenerTest.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     }
168 168
 
169 169
     /**
170
-     * @return CsrfProviderInterface|MockObject
170
+     * @return null|CsrfTokenManagerInterface
171 171
      */
172 172
     protected function getCsrfProviderMock()
173 173
     {
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
     }
189 189
 
190 190
     /**
191
-     * @return GetResponseEvent|MockObject
191
+     * @return null|EventDispatcherInterface
192 192
      */
193 193
     protected function getEventMock($class = null)
194 194
     {
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     }
291 291
 
292 292
     /**
293
-     * @return EventDispatcherInterface|MockObject
293
+     * @return EventDispatcherInterface
294 294
      */
295 295
     protected function getEventDispatcherMock()
296 296
     {
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/RequestParser/RouterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
     }
146 146
 
147 147
     /**
148
-     * @return \PHPUnit\Framework\MockObject\MockObject|\Symfony\Cmf\Component\Routing\ChainRouter
148
+     * @return \Symfony\Component\Routing\RouterInterface
149 149
      */
150 150
     private function getRouterMock()
151 151
     {
Please login to merge, or discard this patch.