Completed
Push — master ( 5f0b1e...535b09 )
by
unknown
11:50 queued 12s
created
Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadSalesFunnelData.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@
 block discarded – undo
273 273
     /**
274 274
      * Flush objects
275 275
      *
276
-     * @param mixed $manager
276
+     * @param EntityManager $manager
277 277
      */
278 278
     private function flush($manager)
279 279
     {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,17 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Form\FormInterface;
6 6
 use Symfony\Component\HttpFoundation\Response;
7
-
8 7
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
9 8
 use FOS\RestBundle\Controller\Annotations\RouteResource;
10 9
 use FOS\RestBundle\Controller\Annotations\QueryParam;
11 10
 use FOS\RestBundle\Routing\ClassResourceInterface;
12
-
13 11
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
14
-
15 12
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
16 13
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
17
-
18 14
 use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler;
19 15
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
20 16
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadUserData.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 
133 133
     /**
134 134
      * @param ObjectManager $manager
135
-     * @param $name
135
+     * @param string $name
136 136
      * @return BusinessUnit
137 137
      */
138 138
     protected function getBusinessUnit(ObjectManager $manager, $name)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Console\Application;
6
-
7 6
 use Symfony\Component\HttpKernel\Kernel;
8 7
 use Symfony\Component\DependencyInjection\Container;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
11 9
 
12 10
 class LoadTest extends WebTestCase
Please login to merge, or discard this patch.
src/OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadUsersData.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      * @param  string    $firstName
130 130
      * @param  string    $lastName
131 131
      * @param  \DateTime $birthday
132
-     * @param  mixed     $role
132
+     * @param  Role     $role
133 133
      * @return User
134 134
      */
135 135
     private function createUser($username, $email, $firstName, $lastName, $birthday, $role)
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
      * Persist object
257 257
      *
258
-     * @param  mixed $object
258
+     * @param  User $object
259 259
      * @return void
260 260
      */
261 261
     private function persist($object)
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     }
275 275
 
276 276
     /**
277
-     * @param $name
277
+     * @param string $name
278 278
      * @return BusinessUnit
279 279
      */
280 280
     protected function getBusinessUnit($name)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Console\Application;
6
-
7 6
 use Symfony\Component\HttpKernel\Kernel;
8 7
 use Symfony\Component\DependencyInjection\Container;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
11 9
 
12 10
 class LoadTest extends WebTestCase
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Entity/Customer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -655,7 +655,7 @@
 block discarded – undo
655 655
     }
656 656
 
657 657
     /**
658
-     * @return string
658
+     * @return double
659 659
      */
660 660
     public function getVat()
661 661
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Console\Application;
6
-
7 6
 use Symfony\Component\HttpKernel\Kernel;
8 7
 use Symfony\Component\DependencyInjection\Container;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
11 9
 
12 10
 class LoadTest extends WebTestCase
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/EventListener/ChannelOwnerSetListener.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace OroCRM\Bundle\MagentoBundle\EventListener;
4 4
 
5
-use Doctrine\ORM\Query;
6 5
 use Doctrine\ORM\EntityManager;
7
-
8 6
 use Oro\Bundle\IntegrationBundle\Entity\Channel;
9 7
 use Oro\Bundle\IntegrationBundle\Event\DefaultOwnerSetEvent;
10
-
11 8
 use OroCRM\Bundle\MagentoBundle\Provider\ChannelType;
12 9
 
13 10
 /**
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/Grid/FormatterContextResolver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * Return currency from given row
11 11
      *
12
-     * @return callable
12
+     * @return \Closure
13 13
      */
14 14
     public static function getResolverCurrencyClosure()
15 15
     {
Please login to merge, or discard this patch.
Bundle/MagentoBundle/ImportExport/Converter/CustomerDataConverter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @param string|int $gender
66
+     * @param boolean|string $gender
67 67
      * @return null|string
68 68
      */
69 69
     protected function getOroGender($gender)
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MagentoBundle/ImportExport/Strategy/CartStrategy.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
 
161 161
     /**
162 162
      * @param Cart $entity
163
-     * @return null
163
+     * @return boolean
164 164
      */
165 165
     protected function hasContactInfo(Cart $entity)
166 166
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;
9 8
 use OroCRM\Bundle\TaskBundle\Entity\Task;
10 9
 
Please login to merge, or discard this patch.
MagentoBundle/ImportExport/Strategy/StrategyHelper/DoctrineHelper.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * @param mixed        $entity             New entity
25 25
      * @param string       $entityName         Class name
26
-     * @param string|array $criteria           Fieldname to find existing entity
26
+     * @param string $criteria           Fieldname to find existing entity
27 27
      * @param array        $excludedProperties Excluded properties
28 28
      *
29 29
      * @return mixed
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     /**
98
-     * @param $entityName
98
+     * @param string $entityName
99 99
      *
100 100
      * @return \Doctrine\ORM\EntityManager
101 101
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Console\Application;
6
-
7 6
 use Symfony\Component\HttpKernel\Kernel;
8 7
 use Symfony\Component\DependencyInjection\Container;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
11 9
 
12 10
 class LoadTest extends WebTestCase
Please login to merge, or discard this patch.