Completed
Pull Request — master (#1354)
by Jordi Sala
17:22
created
src/Command/UpdateCdnStatusCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
      * Write a message to the output.
131 131
      *
132 132
      * @param string    $message
133
-     * @param bool|true $newLine
133
+     * @param boolean $newLine
134 134
      */
135 135
     protected function log($message, $newLine = true): void
136 136
     {
Please login to merge, or discard this patch.
tests/Command/CleanMediaCommandTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -294,8 +294,8 @@
 block discarded – undo
294 294
     /**
295 295
      * Asserts whether all expected texts can be found in the output within a given context.
296 296
      *
297
-     * @param string $extract  PCRE regex expected to have a single matching group, extracting the content of a context
298
-     * @param array  $expected Excerpts of text expected to be found in the output
297
+     * @param string $extractor  PCRE regex expected to have a single matching group, extracting the content of a context
298
+     * @param string[]  $expected Excerpts of text expected to be found in the output
299 299
      * @param string $output   Searched output
300 300
      */
301 301
     private function assertOutputFoundInContext($extractor, $expected, $output): void
Please login to merge, or discard this patch.
tests/Controller/MediaControllerTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@  discard block
 block discarded – undo
125 125
         $this->assertSame('renderResponse', $response->getContent());
126 126
     }
127 127
 
128
+    /**
129
+     * @param boolean $isGranted
130
+     */
128 131
     private function configureDownloadSecurity($pool, $media, $request, $isGranted): void
129 132
     {
130 133
         $strategy = $this->prophesize('Sonata\MediaBundle\Security\DownloadStrategyInterface');
@@ -133,6 +136,9 @@  discard block
 block discarded – undo
133 136
         $strategy->isGranted($media, $request)->willReturn($isGranted);
134 137
     }
135 138
 
139
+    /**
140
+     * @param integer $id
141
+     */
136 142
     private function configureGetMedia($id, $media): void
137 143
     {
138 144
         $mediaManager = $this->prophesize('Sonata\CoreBundle\Model\BaseEntityManager');
@@ -147,6 +153,10 @@  discard block
 block discarded – undo
147 153
         $media->getProviderName()->willReturn('provider');
148 154
     }
149 155
 
156
+    /**
157
+     * @param string $template
158
+     * @param string $rendered
159
+     */
150 160
     private function configureRender($template, $data, $rendered): void
151 161
     {
152 162
         $templating = $this->prophesize('Symfony\Bundle\FrameworkBundle\Templating\EngineInterface');
Please login to merge, or discard this patch.