@@ -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 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * should be configured special identity fields or search context in appropriate strategy |
| 67 | 67 | * |
| 68 | 68 | * @param $entity |
| 69 | - * @param $entityClass |
|
| 69 | + * @param string $entityClass |
|
| 70 | 70 | * @param array $searchContext |
| 71 | 71 | * |
| 72 | 72 | * @return array|null |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * |
| 98 | 98 | * @param object $entity |
| 99 | 99 | * |
| 100 | - * @return null|Customer |
|
| 100 | + * @return null|\Oro\Bundle\BusinessEntitiesBundle\Entity\BasePerson |
|
| 101 | 101 | */ |
| 102 | 102 | protected function findExistingCustomerByContext($entity) |
| 103 | 103 | { |
@@ -148,8 +148,8 @@ discard block |
||
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | - * @param $billing |
|
| 152 | - * @param $shipping |
|
| 151 | + * @param CartAddress $billing |
|
| 152 | + * @param CartAddress $shipping |
|
| 153 | 153 | * @param Customer $customer |
| 154 | 154 | * @param ArrayCollection $item |
| 155 | 155 | * @param CartStatus $status |
@@ -189,8 +189,8 @@ discard block |
||
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | /** |
| 192 | - * @param $billing |
|
| 193 | - * @param $shipping |
|
| 192 | + * @param CartAddress $billing |
|
| 193 | + * @param CartAddress $shipping |
|
| 194 | 194 | * @param ArrayCollection $item |
| 195 | 195 | * @param CartStatus $status |
| 196 | 196 | * |
@@ -229,8 +229,8 @@ discard block |
||
| 229 | 229 | } |
| 230 | 230 | |
| 231 | 231 | /** |
| 232 | - * @param $table |
|
| 233 | - * @param $method |
|
| 232 | + * @param string $table |
|
| 233 | + * @param string $method |
|
| 234 | 234 | * |
| 235 | 235 | * @return array |
| 236 | 236 | */ |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | /** |
| 293 | 293 | * @param $region |
| 294 | 294 | * @param $country |
| 295 | - * @param $originId |
|
| 295 | + * @param integer $originId |
|
| 296 | 296 | * |
| 297 | 297 | * @return CartAddress |
| 298 | 298 | */ |
@@ -391,7 +391,7 @@ discard block |
||
| 391 | 391 | } |
| 392 | 392 | |
| 393 | 393 | /** |
| 394 | - * @param $oid |
|
| 394 | + * @param integer $oid |
|
| 395 | 395 | * @param Account $account |
| 396 | 396 | * @param MagentoAddress $address |
| 397 | 397 | * |
@@ -4,17 +4,13 @@ |
||
| 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; |