Completed
Push — fixtures/parameter-fix ( 1f3fd9...164a01 )
by Kamil
32:45
created
src/Sylius/Bundle/InstallerBundle/Requirement/Requirement.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -20,6 +20,12 @@
 block discarded – undo
20 20
     protected $help;
21 21
     protected $required;
22 22
 
23
+    /**
24
+     * @param string $label
25
+     * @param boolean $fulfilled
26
+     * @param string $expected
27
+     * @param string $help
28
+     */
23 29
     public function __construct($label, $fulfilled, $expected, $actual, $required = true, $help = null)
24 30
     {
25 31
         $this->label = $label;
Please login to merge, or discard this patch.
src/Sylius/Bundle/InstallerBundle/Requirement/RequirementCollection.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
     protected $label;
20 20
     protected $requirements = [];
21 21
 
22
+    /**
23
+     * @param string $label
24
+     */
22 25
     public function __construct($label)
23 26
     {
24 27
         $this->label = $label;
Please login to merge, or discard this patch.
src/Sylius/Bundle/MetadataBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\MetadataBundle\DependencyInjection;
13 13
 
14 14
 use Sylius\Bundle\MetadataBundle\Controller\MetadataController;
15
-use Sylius\Bundle\MetadataBundle\Model\MetadataContainer;
16 15
 use Sylius\Bundle\MetadataBundle\Form\Type\MetadataContainerType;
16
+use Sylius\Bundle\MetadataBundle\Model\MetadataContainer;
17 17
 use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
18 18
 use Sylius\Component\Metadata\Factory\MetadataContainerFactory;
19 19
 use Sylius\Component\Metadata\Model\MetadataContainerInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
 use Sylius\Bundle\OrderBundle\Controller\AdjustmentController;
15 15
 use Sylius\Bundle\OrderBundle\Controller\CommentController;
16 16
 use Sylius\Bundle\OrderBundle\Controller\OrderItemController;
17
-use Sylius\Component\Order\Factory\OrderItemUnitFactory;
18 17
 use Sylius\Bundle\OrderBundle\Form\Type\AdjustmentType;
19 18
 use Sylius\Bundle\OrderBundle\Form\Type\CommentType;
20 19
 use Sylius\Bundle\OrderBundle\Form\Type\OrderItemType;
21 20
 use Sylius\Bundle\OrderBundle\Form\Type\OrderType;
22 21
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
23 22
 use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
23
+use Sylius\Component\Order\Factory\OrderItemUnitFactory;
24 24
 use Sylius\Component\Order\Model\Adjustment;
25 25
 use Sylius\Component\Order\Model\AdjustmentInterface;
26 26
 use Sylius\Component\Order\Model\Comment;
Please login to merge, or discard this patch.
src/Sylius/Bundle/PayumBundle/Model/PaymentSecurityToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * {@inheritdoc}
60 60
      *
61
-     * @return IdentityInterface|null
61
+     * @return IdentityInterface
62 62
      */
63 63
     public function getDetails()
64 64
     {
Please login to merge, or discard this patch.
Sylius/Bundle/PricingBundle/DependencyInjection/SyliusPricingExtension.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\PricingBundle\DependencyInjection;
13 13
 
14
-use Symfony\Component\Config\Definition\Processor;
15 14
 use Symfony\Component\Config\FileLocator;
16 15
 use Symfony\Component\DependencyInjection\ContainerBuilder;
17 16
 use Symfony\Component\DependencyInjection\Definition;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ProductBundle\DependencyInjection;
13 13
 
14
-use Sylius\Bundle\CoreBundle\Form\Type\LegacyProductType;
15 14
 use Sylius\Bundle\ProductBundle\Form\Type\ProductTranslationType;
16 15
 use Sylius\Bundle\ProductBundle\Form\Type\ProductType;
17 16
 use Sylius\Bundle\ProductBundle\Form\Type\ProductVariantGenerationType;
Please login to merge, or discard this patch.
Sylius/Bundle/ProductBundle/DependencyInjection/SyliusProductExtension.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 use Sylius\Component\Product\Model\OptionValueTranslationInterface;
31 31
 use Sylius\Component\Product\Model\Variant;
32 32
 use Sylius\Component\Product\Model\VariantInterface;
33
-use Sylius\Component\Resource\Factory;
34 33
 use Symfony\Component\Config\FileLocator;
35 34
 use Symfony\Component\DependencyInjection\ContainerBuilder;
36 35
 use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/RbacBundle/Twig/RbacExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      *
49 49
      * @param string $permissionCode
50 50
      *
51
-     * @return string
51
+     * @return boolean
52 52
      */
53 53
     public function isGranted($permissionCode)
54 54
     {
Please login to merge, or discard this patch.