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.
src/WellCommerce/Bundle/AppBundle/Controller/Admin/PackageController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -12,10 +12,7 @@
 block discarded – undo
12 12
 
13 13
 namespace WellCommerce\Bundle\AppBundle\Controller\Admin;
14 14
 
15
-use SensioLabs\AnsiConverter\AnsiToHtmlConverter;
16
-use SensioLabs\AnsiConverter\Theme\SolarizedTheme;
17 15
 use Symfony\Component\HttpFoundation\Response;
18
-use Symfony\Component\HttpFoundation\StreamedResponse;
19 16
 use WellCommerce\Bundle\AppBundle\Entity\Package;
20 17
 use WellCommerce\Bundle\AppBundle\Manager\PackageManager;
21 18
 use WellCommerce\Bundle\CoreBundle\Console\Output\ConsoleHtmlOutput;
Please login to merge, or discard this patch.
src/WellCommerce/Bundle/CoreBundle/Helper/Package/PackageHelper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 use Packagist\Api\Client;
16 16
 use Packagist\Api\Result\Package as PackagistPackage;
17
-use Symfony\Component\Filesystem\Filesystem;
18 17
 
19 18
 /**
20 19
  * Class PackageHelper
Please login to merge, or discard this patch.