@@ -83,6 +83,7 @@ |
||
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | 85 | * {@inheritdoc} |
| 86 | + * @param string $methodName |
|
| 86 | 87 | */ |
| 87 | 88 | protected function getSupportedQueryParameters($methodName) |
| 88 | 89 | { |
@@ -307,13 +307,12 @@ discard block |
||
| 307 | 307 | /** |
| 308 | 308 | * @param ObjectManager $om |
| 309 | 309 | * @param Store $store |
| 310 | - * @param Integration $integration |
|
| 311 | 310 | * @param Customer $customer |
| 312 | 311 | * @param string $status |
| 313 | 312 | * @param Cart $cart |
| 314 | 313 | * @param string $paymentMethod |
| 315 | 314 | * @param string $paymentMethodDetails |
| 316 | - * @param mixed $origin |
|
| 315 | + * @param integer $origin |
|
| 317 | 316 | * |
| 318 | 317 | * @return Order |
| 319 | 318 | */ |
@@ -529,7 +528,6 @@ discard block |
||
| 529 | 528 | |
| 530 | 529 | /** |
| 531 | 530 | * @param ObjectManager $om |
| 532 | - * @param Website $website |
|
| 533 | 531 | * @param Store $store |
| 534 | 532 | * @param CustomerGroup $group |
| 535 | 533 | * @param Channel $channel |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | 116 | * @param ObjectManager $om |
| 117 | - * @param array $websites |
|
| 117 | + * @param TrackingWebsite[] $websites |
|
| 118 | 118 | * |
| 119 | 119 | * @return TrackingEventDictionary[] |
| 120 | 120 | */ |
@@ -328,7 +328,7 @@ |
||
| 328 | 328 | * |
| 329 | 329 | * Returns the list of recurring events. |
| 330 | 330 | * |
| 331 | - * @return array |
|
| 331 | + * @return CalendarEvent[] |
|
| 332 | 332 | */ |
| 333 | 333 | protected function getRecurringEvents() |
| 334 | 334 | { |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | /** |
| 86 | 86 | * Checks if the form type should be read-only or not |
| 87 | 87 | * |
| 88 | - * @param array $options |
|
| 88 | + * @param Options $options |
|
| 89 | 89 | * |
| 90 | 90 | * @return bool |
| 91 | 91 | */ |
@@ -137,7 +137,7 @@ |
||
| 137 | 137 | * As guest customer entity not exist in Magento as separate entity and saved in order |
| 138 | 138 | * find guest by customer email |
| 139 | 139 | * |
| 140 | - * @param object $entity |
|
| 140 | + * @param \OroCRM\Bundle\MagentoBundle\Entity\Cart|null $entity |
|
| 141 | 141 | * @param array $searchContext |
| 142 | 142 | * @return null|object |
| 143 | 143 | */ |
@@ -6,20 +6,7 @@ |
||
| 6 | 6 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
| 7 | 7 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
| 8 | 8 | use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport; |
| 9 | - |
|
| 10 | - |
|
| 11 | -use OroCRM\Bundle\MagentoBundle\EventListener\UpdateIntegrationConnectorsListener; |
|
| 12 | -use OroCRM\Bundle\MagentoBundle\Provider\ChannelType; |
|
| 13 | -use OroCRM\Bundle\MagentoBundle\Provider\Transport\SoapTransport; |
|
| 14 | - |
|
| 15 | - |
|
| 16 | -use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; |
|
| 17 | 9 | use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag; |
| 18 | -use Oro\Bundle\DataGridBundle\Event\PreBuild; |
|
| 19 | -use OroCRM\Bundle\MagentoBundle\EventListener\CustomerDataGridListener; |
|
| 20 | -use Symfony\Component\HttpFoundation\Request; |
|
| 21 | -use Symfony\Component\HttpFoundation\RequestStack; |
|
| 22 | - |
|
| 23 | 10 | use OroCRM\Bundle\MagentoBundle\EventListener\StoreGridListener; |
| 24 | 11 | |
| 25 | 12 | class StoreGridListenerTest extends \PHPUnit_Framework_TestCase |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | * @param string $filterType date filter type ('date' or 'datetime') |
| 156 | 156 | * @param QueryBuilder $queryBuilder |
| 157 | 157 | * |
| 158 | - * @return string|bool |
|
| 158 | + * @return false|string |
|
| 159 | 159 | */ |
| 160 | 160 | protected function buildDateCondition(array $options, $fieldName, $filterType, QueryBuilder $queryBuilder) |
| 161 | 161 | { |
@@ -4,21 +4,15 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\HttpFoundation\Response; |
| 6 | 6 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 7 | - |
|
| 8 | 7 | use FOS\RestBundle\Controller\Annotations\NamePrefix; |
| 9 | 8 | use FOS\RestBundle\Controller\Annotations\RouteResource; |
| 10 | 9 | use FOS\RestBundle\Routing\ClassResourceInterface; |
| 11 | 10 | use FOS\RestBundle\Util\Codes; |
| 12 | - |
|
| 13 | 11 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
| 14 | - |
|
| 15 | -use Oro\Bundle\SecurityBundle\Annotation\Acl; |
|
| 16 | 12 | use Oro\Bundle\FormBundle\Form\Handler\ApiFormHandler; |
| 17 | 13 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
| 18 | 14 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
| 19 | - |
|
| 20 | 15 | use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer; |
| 21 | -use OroCRM\Bundle\ContactBundle\Entity\Contact; |
|
| 22 | 16 | |
| 23 | 17 | /** |
| 24 | 18 | * @RouteResource("b2bcustomer_phone") |