@@ -179,8 +179,8 @@ |
||
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | /** |
| 182 | - * @param $dataType |
|
| 183 | - * @param $lessIsBetter |
|
| 182 | + * @param string $dataType |
|
| 183 | + * @param boolean $lessIsBetter |
|
| 184 | 184 | * @param $pastResult |
| 185 | 185 | * @param $deviation |
| 186 | 186 | * @param $result |
@@ -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; |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | 82 | * @param LoggerInterface $logger |
| 83 | - * @param $sql |
|
| 83 | + * @param string $sql |
|
| 84 | 84 | * @param array $parameters |
| 85 | 85 | * @throws \Doctrine\DBAL\DBALException |
| 86 | 86 | */ |
@@ -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; |
@@ -1004,7 +1004,7 @@ discard block |
||
| 1004 | 1004 | * |
| 1005 | 1005 | * This method could not be named setEmails because of bug CRM-253. |
| 1006 | 1006 | * |
| 1007 | - * @param Collection|ContactEmail[] $emails |
|
| 1007 | + * @param ContactEmail[] $emails |
|
| 1008 | 1008 | * |
| 1009 | 1009 | * @return Contact |
| 1010 | 1010 | */ |
@@ -1055,7 +1055,7 @@ discard block |
||
| 1055 | 1055 | /** |
| 1056 | 1056 | * Get emails |
| 1057 | 1057 | * |
| 1058 | - * @return Collection|ContactEmail[] |
|
| 1058 | + * @return Collection |
|
| 1059 | 1059 | */ |
| 1060 | 1060 | public function getEmails() |
| 1061 | 1061 | { |
@@ -1126,7 +1126,7 @@ discard block |
||
| 1126 | 1126 | * |
| 1127 | 1127 | * This method could not be named setPhones because of bug CRM-253. |
| 1128 | 1128 | * |
| 1129 | - * @param Collection|ContactPhone[] $phones |
|
| 1129 | + * @param ContactPhone[] $phones |
|
| 1130 | 1130 | * |
| 1131 | 1131 | * @return Contact |
| 1132 | 1132 | */ |
@@ -1177,7 +1177,7 @@ discard block |
||
| 1177 | 1177 | /** |
| 1178 | 1178 | * Get phones |
| 1179 | 1179 | * |
| 1180 | - * @return Collection|ContactPhone[] |
|
| 1180 | + * @return Collection |
|
| 1181 | 1181 | */ |
| 1182 | 1182 | public function getPhones() |
| 1183 | 1183 | { |
@@ -1375,7 +1375,7 @@ discard block |
||
| 1375 | 1375 | /** |
| 1376 | 1376 | * Gets the groups related to contact |
| 1377 | 1377 | * |
| 1378 | - * @return Group[]|Collection |
|
| 1378 | + * @return Collection |
|
| 1379 | 1379 | */ |
| 1380 | 1380 | public function getGroups() |
| 1381 | 1381 | { |
@@ -1417,7 +1417,7 @@ discard block |
||
| 1417 | 1417 | /** |
| 1418 | 1418 | * Get accounts collection |
| 1419 | 1419 | * |
| 1420 | - * @return Collection|Account[] |
|
| 1420 | + * @return Collection |
|
| 1421 | 1421 | */ |
| 1422 | 1422 | public function getAccounts() |
| 1423 | 1423 | { |