Passed
Push — master ( 960a24...ce8b6f )
by Gerhard
20:20 queued 10:00
created
src/Enhavo/Bundle/FormBundle/Form/Helper/EntityTreeChoiceBuilder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -100,6 +100,9 @@
 block discarded – undo
100 100
         return $choiceViews;
101 101
     }
102 102
 
103
+    /**
104
+     * @param integer $level
105
+     */
103 106
     private function addToChoiceView(EntityTreeChoice $choice, array &$choiceViews, $level)
104 107
     {
105 108
         $choiceView = $choice->getChoiceView();
Please login to merge, or discard this patch.
src/Enhavo/Bundle/MediaBundle/Filter/Filter/ImageFilter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -160,6 +160,9 @@
 block discarded – undo
160 160
         return $image;
161 161
     }
162 162
 
163
+    /**
164
+     * @return ImageInterface
165
+     */
163 166
     private function crop(ImageInterface $image, $width, $height, $x, $y, $backgroundColorValues, $backgroundColorAlpha)
164 167
     {
165 168
         $palette = new RGB();
Please login to merge, or discard this patch.
src/Enhavo/Bundle/MediaBundle/Media/ImageCropperManager.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     }
24 24
 
25 25
     /**
26
-     * @param string|FormatInterface $format
26
+     * @param \Enhavo\Bundle\MediaBundle\Entity\Format $format
27 27
      * @return float|null
28 28
      */
29 29
     public function getFormatRatio($format)
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
         return $this->findFormatRatio($name);
38 38
     }
39 39
 
40
+    /**
41
+     * @param string $name
42
+     */
40 43
     private function findFormatRatio($name)
41 44
     {
42 45
         $width = null;
Please login to merge, or discard this patch.
src/Enhavo/Bundle/ShopBundle/Controller/CheckoutController.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@  discard block
 block discarded – undo
58 58
         return $messages;
59 59
     }
60 60
 
61
+    /**
62
+     * @param string $routeName
63
+     */
61 64
     protected function getUrl($routeName, $routeParameters)
62 65
     {
63 66
         return $this->get('router')->generate($routeName, $routeParameters);
@@ -224,6 +227,7 @@  discard block
 block discarded – undo
224 227
 
225 228
     /**
226 229
      * @param Request $request
230
+     * @param string $route
227 231
      */
228 232
     protected function setTargetPath(Request $request, $route, $parameters = [])
229 233
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Symfony\Component\HttpFoundation\JsonResponse;
21 21
 use Symfony\Component\HttpFoundation\Response;
22 22
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
23
-use Sylius\Component\Order\Context\CartContext;
24 23
 
25 24
 class CheckoutController extends AppController
26 25
 {
Please login to merge, or discard this patch.
src/Enhavo/Bundle/AppBundle/Viewer/Viewer/UpdateViewer.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -53,6 +53,10 @@
 block discarded – undo
53 53
         $parameters->set('data', $data);
54 54
     }
55 55
 
56
+    /**
57
+     * @param RequestConfiguration $requestConfiguration
58
+     * @param ResourceInterface $resource
59
+     */
56 60
     private function createActionsSecondary($options, $requestConfiguration, $resource)
57 61
     {
58 62
         /** @var MetadataInterface $metadata */
Please login to merge, or discard this patch.
Enhavo/Bundle/DoctrineExtensionBundle/EventListener/ExtendSubscriber.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @param $className
82
+     * @param string $className
83 83
      * @param $extendedMetadata
84 84
      */
85 85
     private function collectExtendedMetadata($className, &$extendedMetadata)
@@ -98,6 +98,10 @@  discard block
 block discarded – undo
98 98
      * @param $className
99 99
      * @return Metadata|null
100 100
      */
101
+
102
+    /**
103
+     * @param string $className
104
+     */
101 105
     private function getMetadata($className)
102 106
     {
103 107
         /** @var Metadata $metadata */
Please login to merge, or discard this patch.
Enhavo/Bundle/DoctrineExtensionBundle/EventListener/ReferenceSubscriber.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@
 block discarded – undo
103 103
         }
104 104
     }
105 105
 
106
+    /**
107
+     * @param string $class
108
+     */
106 109
     private function isParentClass($object, $class)
107 110
     {
108 111
         $parentClass = get_parent_class($object);
Please login to merge, or discard this patch.
src/Enhavo/Bundle/SearchBundle/Engine/ElasticSearch/ElasticSearchEngine.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -132,6 +132,9 @@  discard block
 block discarded – undo
132 132
         $mapping->send();
133 133
     }
134 134
 
135
+    /**
136
+     * @param string $type
137
+     */
135 138
     private function mapDataType($type)
136 139
     {
137 140
         if($type == null) {
@@ -188,6 +191,10 @@  discard block
 block discarded – undo
188 191
         return $masterQuery;
189 192
     }
190 193
 
194
+    /**
195
+     * @param string $fieldName
196
+     * @param \Enhavo\Bundle\SearchBundle\Engine\Filter\QueryInterface $filterQuery
197
+     */
191 198
     private function createFilterQuery($fieldName, $filterQuery)
192 199
     {
193 200
         if($filterQuery instanceof MatchQuery) {
Please login to merge, or discard this patch.
src/Enhavo/Component/Metadata/MetadataRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
         return $metadata;
84 84
     }
85 85
 
86
+    /**
87
+     * @param string $className
88
+     */
86 89
     private function getParents($className, array &$parents)
87 90
     {
88 91
         $parentClass = get_parent_class($className);
Please login to merge, or discard this patch.