@@ -655,7 +655,7 @@ |
||
| 655 | 655 | } |
| 656 | 656 | |
| 657 | 657 | /** |
| 658 | - * @return string |
|
| 658 | + * @return double |
|
| 659 | 659 | */ |
| 660 | 660 | public function getVat() |
| 661 | 661 | { |
@@ -3,10 +3,8 @@ |
||
| 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 |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | * @param Channel $channel |
| 166 | 166 | * @param string $status |
| 167 | 167 | * |
| 168 | - * @return \Doctrine\ORM\QueryBuilder |
|
| 168 | + * @return BufferedQueryResultIterator |
|
| 169 | 169 | */ |
| 170 | 170 | public function getCartsByChannelIdsIterator(Channel $channel, $status = 'open') |
| 171 | 171 | { |
@@ -3,10 +3,8 @@ |
||
| 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 |
@@ -2,12 +2,9 @@ |
||
| 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 | /** |
@@ -9,7 +9,7 @@ |
||
| 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 | { |
@@ -63,7 +63,7 @@ |
||
| 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) |
@@ -160,7 +160,7 @@ |
||
| 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 | { |
@@ -3,10 +3,8 @@ |
||
| 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 |
@@ -23,7 +23,7 @@ discard block |
||
| 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 |
||
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | - * @param $entityName |
|
| 98 | + * @param string $entityName |
|
| 99 | 99 | * |
| 100 | 100 | * @return \Doctrine\ORM\EntityManager |
| 101 | 101 | */ |
@@ -3,10 +3,8 @@ |
||
| 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 |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | /** |
| 59 | 59 | * @param array $regionData |
| 60 | 60 | * |
| 61 | - * @return null|Region |
|
| 61 | + * @return Region |
|
| 62 | 62 | */ |
| 63 | 63 | protected function getRegion(array $regionData) |
| 64 | 64 | { |
@@ -3,10 +3,8 @@ |
||
| 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 |
@@ -4,7 +4,6 @@ discard block |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\DBAL\Types\Type; |
| 6 | 6 | use Doctrine\DBAL\Schema\Schema; |
| 7 | - |
|
| 8 | 7 | use Oro\Bundle\MigrationBundle\Migration\QueryBag; |
| 9 | 8 | use Oro\Bundle\MigrationBundle\Migration\Migration; |
| 10 | 9 | use Oro\Bundle\MigrationBundle\Migration\SqlMigrationQuery; |
@@ -12,15 +11,11 @@ discard block |
||
| 12 | 11 | use Oro\Bundle\MigrationBundle\Migration\OrderedMigrationInterface; |
| 13 | 12 | use Oro\Bundle\MigrationBundle\Migration\Extension\NameGeneratorAwareInterface; |
| 14 | 13 | use Oro\Bundle\MigrationBundle\Tools\DbIdentifierNameGenerator; |
| 15 | - |
|
| 16 | 14 | use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtension; |
| 17 | - |
|
| 18 | 15 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
| 19 | 16 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendDbIdentifierNameGenerator; |
| 20 | - |
|
| 21 | 17 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtension; |
| 22 | 18 | use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtensionAwareInterface; |
| 23 | - |
|
| 24 | 19 | use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope; |
| 25 | 20 | use Oro\Bundle\ActivityListBundle\Tools\ActivityListEntityConfigDumperExtension; |
| 26 | 21 | |