Passed
Push — master ( 960a24...ce8b6f )
by Gerhard
20:20 queued 10:00
created
src/Enhavo/Bundle/ContentBundle/Model/SitemapUrl.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,6 @@
 block discarded – undo
145 145
     }
146 146
 
147 147
     /**
148
-     * @param SitemapVideo[] $image
149 148
      */
150 149
     public function addVideo($video)
151 150
     {
Please login to merge, or discard this patch.
src/Enhavo/Bundle/ShopBundle/Model/CheckoutContext.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
 
125 125
     /**
126
-     * @param $key
126
+     * @param string $key
127 127
      * @param $value
128 128
      */
129 129
     public function addData($key, $value)
Please login to merge, or discard this patch.
src/Enhavo/Bundle/ContentBundle/Sitemap/Collector/PublishCollector.php 1 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 Enhavo\Bundle\ContentBundle\Sitemap\Collector;
4 4
 use Enhavo\Bundle\ContentBundle\Content\Publishable;
5
-use Pagerfanta\Pagerfanta;
6 5
 
7 6
 /**
8 7
  * PublishCollector.php
Please login to merge, or discard this patch.
src/Enhavo/Bundle/AppBundle/Repository/EntityRepositoryTrait.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 
15 15
 trait EntityRepositoryTrait
16 16
 {
17
+    /**
18
+     * @param string $property
19
+     */
17 20
     public function findBetween($property, \DateTime $from, \DateTime $to, $criteria = [], $orderBy = [])
18 21
     {
19 22
         /** @var QueryBuilder $query */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 use Doctrine\ORM\QueryBuilder;
12 12
 use Enhavo\Bundle\AppBundle\Filter\FilterQuery;
13
-use Enhavo\Bundle\AppBundle\Exception\FilterException;
14 13
 
15 14
 trait EntityRepositoryTrait
16 15
 {
Please login to merge, or discard this patch.
src/Enhavo/Bundle/SliderBundle/Entity/Slide.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Enhavo\Bundle\SliderBundle\Entity;
4 4
 
5
-use Doctrine\ORM\Mapping as ORM;
6 5
 use Enhavo\Bundle\ContentBundle\Content\Publishable;
7 6
 use Enhavo\Bundle\ContentBundle\Content\PublishableTrait;
8 7
 use Enhavo\Bundle\MediaBundle\Model\FileInterface;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
      * Set position
136 136
      *
137 137
      * @param integer $position
138
-     * @return Slider
138
+     * @return Slide
139 139
      */
140 140
     public function setPosition($position)
141 141
     {
Please login to merge, or discard this patch.
src/Enhavo/Bundle/ShopBundle/Document/BillingGenerator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -230,6 +230,9 @@
 block discarded – undo
230 230
         return $pdf->Output(null, 'S');
231 231
     }
232 232
 
233
+    /**
234
+     * @param string $code
235
+     */
233 236
     public function getTaxByCode(OrderInterface $order, $code)
234 237
     {
235 238
         $taxRate = $this->container->get('sylius.repository.tax_rate')->findOneBy([
Please login to merge, or discard this patch.
src/Enhavo/Bundle/AppBundle/Event/PreviewEvent.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@
 block discarded – undo
24 24
      */
25 25
     private $requestConfiguration;
26 26
 
27
+    /**
28
+     * @param Request $request
29
+     * @param \Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration $requestConfiguration
30
+     */
27 31
     public function __construct($request, $requestConfiguration)
28 32
     {
29 33
         $this->request = $request;
Please login to merge, or discard this patch.
src/Enhavo/Bundle/MediaBundle/Content/PathContent.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
      */
17 17
     private $path;
18 18
 
19
+    /**
20
+     * @param string|null $path
21
+     */
19 22
     public function __construct($path)
20 23
     {
21 24
         $this->path = $path;
Please login to merge, or discard this patch.
src/Enhavo/Bundle/MediaBundle/Storage/LocalFileStorage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
         return new PathContent($savePath);
56 56
     }
57 57
 
58
+    /**
59
+     * @param string $path
60
+     */
58 61
     private function createPathIfNotExists($path)
59 62
     {
60 63
         if(!$this->filesystem->exists($path)) {
Please login to merge, or discard this patch.