Completed
Push — master ( 7de777...9be641 )
by
unknown
11:28
created
src/Generator/ImageGenerator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@
 block discarded – undo
46 46
      * @param Server $server
47 47
      * @param FilenameGeneratorInterface $filenameGenerator
48 48
      * @param array $defaultImageParameters
49
-     * @param null $fallbackImage
50
-     * @param null $tmpPath
51
-     * @param null $tmpPrefix
49
+     * @param string|null $fallbackImage
50
+     * @param string $tmpPath
51
+     * @param string $tmpPrefix
52 52
      */
53 53
     public function __construct(
54 54
         Server $server,
Please login to merge, or discard this patch.
tests/Functional/AbstractBaseFunctionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
 
139 139
     /**
140 140
      * @param Form $form
141
-     * @return mixed
141
+     * @return string
142 142
      */
143 143
     protected function getSonataFormBaseKey(Form $form)
144 144
     {
Please login to merge, or discard this patch.
tests/Functional/AdminTestAbstract.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use MediaMonks\SonataMediaBundle\Model\MediaInterface;
8 8
 use Symfony\Bundle\FrameworkBundle\Client;
9 9
 use Mockery as m;
10
-use Symfony\Component\DomCrawler\Form;
11 10
 
12 11
 abstract class AdminTestAbstract extends AbstractBaseFunctionTest
13 12
 {
Please login to merge, or discard this patch.
tests/Unit/Handler/SignatureParameterHandlerTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @return MediaInterface
31
+     * @return m\MockInterface
32 32
      */
33 33
     private function getMediaMock()
34 34
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace MediaMonks\SonataMediaBundle\Tests\Unit\Handler;
4 4
 
5
-use MediaMonks\SonataMediaBundle\Exception\InvalidQueryParameterException;
6 5
 use MediaMonks\SonataMediaBundle\Exception\SignatureInvalidException;
7 6
 use MediaMonks\SonataMediaBundle\ParameterBag\ImageParameterBag;
8 7
 use MediaMonks\SonataMediaBundle\Handler\SignatureParameterHandler;
Please login to merge, or discard this patch.
tests/Unit/ParameterBag/ImageParameterBagTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace MediaMonks\SonataMediaBundle\Tests\Unit\ParameterBag;
4 4
 
5 5
 use MediaMonks\SonataMediaBundle\Model\MediaInterface;
6
-use MediaMonks\SonataMediaBundle\ParameterBag\DownloadParameterBag;
7 6
 use MediaMonks\SonataMediaBundle\ParameterBag\ImageParameterBag;
8 7
 use Mockery as m;
9 8
 
Please login to merge, or discard this patch.
tests/Unit/Provider/FileProviderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
         $method->invokeArgs($provider, [$file, 'foo']);
63 63
     }
64 64
 
65
+    /**
66
+     * @param string $name
67
+     */
65 68
     protected static function getMethod($name)
66 69
     {
67 70
         $class = new \ReflectionClass(FileProvider::class);
Please login to merge, or discard this patch.
tests/Unit/Provider/ProviderPoolTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * @param string $name
87
-     * @return ProviderInterface
87
+     * @return m\MockInterface
88 88
      */
89 89
     private function getProviderMock($name = 'Test')
90 90
     {
Please login to merge, or discard this patch.