Completed
Push — master ( 68693d...b79797 )
by Adam
12:25
created
WellCommerce/Component/Form/DataTransformer/DataTransformerCollection.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
      * Adds new transformer
26 26
      *
27 27
      * @param string $alias
28
-     * @param string $transformer $serviceId
29 28
      */
30 29
     public function add($alias, $serviceId)
31 30
     {
Please login to merge, or discard this patch.
src/WellCommerce/Component/Form/DataTransformer/DateTransformer.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * Constructor
38 38
      *
39
-     * @param $format
39
+     * @param string $format
40 40
      */
41 41
     public function __construct($format)
42 42
     {
@@ -47,7 +47,6 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Transforms date object to string using given format
49 49
      *
50
-     * @param DateTime|string $dateTime
51 50
      *
52 51
      * @return string
53 52
      */
Please login to merge, or discard this patch.
src/WellCommerce/Component/Form/Handler/FormHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -133,6 +133,9 @@
 block discarded – undo
133 133
         return $this->formModelData;
134 134
     }
135 135
 
136
+    /**
137
+     * @param FormInterface $form
138
+     */
136 139
     public function populateForm($formModelData, $form)
137 140
     {
138 141
         return $this->formDataMapper->mapModelDataToForm($formModelData, $form);
Please login to merge, or discard this patch.
Bundle/CatalogBundle/EventListener/ProductDoctrineEventSubscriber.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
         $productAttributeSellPrice->setCurrency($sellPrice->getCurrency());
98 98
     }
99 99
     
100
+    /**
101
+     * @param double $amount
102
+     */
100 103
     protected function calculateAttributePrice(Variant $variant, $amount)
101 104
     {
102 105
         $modifierType  = $variant->getModifierType();
Please login to merge, or discard this patch.
src/WellCommerce/Bundle/AppBundle/Command/Locale/AddCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -117,6 +117,9 @@
 block discarded – undo
117 117
         $this->getLocaleCopier()->copyLocaleData($sourceLocale, $targetLocale);
118 118
     }
119 119
     
120
+    /**
121
+     * @param string $targetCurrency
122
+     */
120 123
     private function getTargetCurrency($targetCurrency): Currency
121 124
     {
122 125
         return $this->getContainer()->get('currency.repository')->findOneBy(['code' => $targetCurrency]);
Please login to merge, or discard this patch.
src/WellCommerce/Bundle/GeneratorBundle/Command/RegisterCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@
 block discarded – undo
89 89
         return false;
90 90
     }
91 91
     
92
+    /**
93
+     * @return string
94
+     */
92 95
     private function findBundleClass(string $bundleName)
93 96
     {
94 97
         $finder = new Finder();
Please login to merge, or discard this patch.