@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\Proxy\Proxy; |
6 | 6 | use Doctrine\ORM\AbstractQuery; |
7 | - |
|
8 | 7 | use Oro\Bundle\ReminderBundle\Entity\Manager\ReminderManager; |
9 | 8 | |
10 | 9 | abstract class AbstractCalendarEventNormalizer |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\CalendarBundle\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping\ClassMetadata; |
6 | - |
|
7 | 6 | use Oro\Bundle\CalendarBundle\Entity\Calendar; |
8 | 7 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
9 | 8 | use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; |
@@ -131,7 +131,7 @@ |
||
131 | 131 | /** |
132 | 132 | * @param array $items |
133 | 133 | * |
134 | - * @return array |
|
134 | + * @return integer[] |
|
135 | 135 | */ |
136 | 136 | protected function getParentEventIds(array $items) |
137 | 137 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\CalendarBundle\Tests\Unit\Form\Handler; |
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\Request; |
6 | - |
|
7 | 6 | use Oro\Bundle\CalendarBundle\Entity\CalendarEvent; |
8 | 7 | use Oro\Bundle\CalendarBundle\Form\Handler\CalendarEventApiHandler; |
9 | 8 | use Oro\Bundle\CalendarBundle\Tests\Unit\ReflectionUtil; |
@@ -5,11 +5,8 @@ |
||
5 | 5 | use Symfony\Component\Form\AbstractType; |
6 | 6 | use Symfony\Component\Form\PreloadedExtension; |
7 | 7 | use Symfony\Component\Form\Test\TypeTestCase; |
8 | - |
|
9 | 8 | use Doctrine\Common\Collections\ArrayCollection; |
10 | - |
|
11 | 9 | use Genemu\Bundle\FormBundle\Form\JQuery\Type\Select2Type; |
12 | - |
|
13 | 10 | use Oro\Bundle\CalendarBundle\Entity\Calendar; |
14 | 11 | use Oro\Bundle\CalendarBundle\Entity\CalendarEvent; |
15 | 12 | use Oro\Bundle\FormBundle\Form\Type\CollectionType; |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Oro\Bundle\ChartBundle\Model; |
4 | 4 | |
5 | 5 | use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\ChartBundle\Exception\BadMethodCallException; |
8 | 7 | use Oro\Bundle\ChartBundle\Exception\InvalidArgumentException; |
9 | - |
|
10 | 8 | use Oro\Bundle\ChartBundle\Model\Data\Transformer\TransformerFactory; |
11 | 9 | use Oro\Bundle\ChartBundle\Model\Data\MappedData; |
12 | 10 | use Oro\Bundle\ChartBundle\Model\Data\ArrayData; |
@@ -3,16 +3,13 @@ |
||
3 | 3 | namespace Oro\Bundle\CommentBundle\Controller\Api\Rest; |
4 | 4 | |
5 | 5 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
6 | - |
|
7 | 6 | use FOS\RestBundle\Util\Codes; |
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 | - |
|
12 | 10 | use Symfony\Component\Form\FormInterface; |
13 | 11 | use Symfony\Component\HttpFoundation\JsonResponse; |
14 | 12 | use Symfony\Component\HttpFoundation\Response; |
15 | - |
|
16 | 13 | use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler; |
17 | 14 | use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController; |
18 | 15 | use Oro\Bundle\SoapBundle\Request\Parameters\Filter\HttpDateTimeParameterFilter; |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * @param int $entityId |
90 | 90 | * @param int $page |
91 | 91 | * @param int $limit |
92 | - * @param array $filters |
|
92 | + * @param Criteria $filters |
|
93 | 93 | * |
94 | 94 | * @return array |
95 | 95 | */ |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | } |
357 | 357 | |
358 | 358 | /** |
359 | - * @param $entity |
|
359 | + * @param Comment $entity |
|
360 | 360 | * |
361 | 361 | * @return File |
362 | 362 | */ |
@@ -8,10 +8,8 @@ |
||
8 | 8 | use Doctrine\Common\Util\ClassUtils; |
9 | 9 | use Doctrine\ORM\EntityNotFoundException; |
10 | 10 | use Doctrine\ORM\QueryBuilder; |
11 | - |
|
12 | 11 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
13 | 12 | use Symfony\Component\PropertyAccess\PropertyAccess; |
14 | - |
|
15 | 13 | use Oro\Bundle\AttachmentBundle\Manager\AttachmentManager; |
16 | 14 | use Oro\Bundle\CommentBundle\Entity\Comment; |
17 | 15 | use Oro\Bundle\CommentBundle\Entity\Repository\CommentRepository; |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace Oro\Bundle\CommentBundle\EventListener; |
4 | 4 | |
5 | 5 | use Symfony\Component\Security\Core\User\UserInterface; |
6 | - |
|
7 | 6 | use Doctrine\ORM\Event\LifecycleEventArgs; |
8 | 7 | use Doctrine\ORM\EntityManager; |
9 | 8 | use Doctrine\ORM\UnitOfWork; |
10 | - |
|
11 | 9 | use Oro\Bundle\EntityConfigBundle\DependencyInjection\Utils\ServiceLink; |
12 | 10 | use Oro\Bundle\CommentBundle\Entity\Comment; |
13 | 11 |