@@ -3,14 +3,11 @@ |
||
3 | 3 | namespace Oro\Bundle\QueryDesignerBundle\Tests\Unit\Grid\Extension; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\QueryBuilder; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\Extension\Csrf\CsrfExtension; |
8 | 7 | use Symfony\Component\Form\Forms; |
9 | 8 | use Symfony\Component\Form\FormFactoryInterface; |
10 | 9 | use Symfony\Component\Form\PreloadedExtension; |
11 | - |
|
12 | 10 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
13 | - |
|
14 | 11 | use Oro\Bundle\FilterBundle\Filter\DateTimeRangeFilter; |
15 | 12 | use Oro\Bundle\FilterBundle\Form\Type\DateRangeType; |
16 | 13 | use Oro\Bundle\FilterBundle\Form\Type\DateTimeRangeType; |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\DBAL\DBALException; |
6 | 6 | use Doctrine\ORM\ORMException; |
7 | - |
|
8 | 7 | use Symfony\Component\Translation\TranslatorInterface; |
9 | 8 | use Symfony\Component\Validator\Constraint; |
10 | 9 | use Symfony\Component\Validator\ConstraintValidator; |
11 | - |
|
12 | 10 | use Oro\Bundle\DataGridBundle\Datagrid\Builder; |
13 | 11 | use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag; |
14 | 12 | use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource; |
@@ -3,13 +3,10 @@ |
||
3 | 3 | namespace Oro\Bundle\ReminderBundle\Command; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
8 | 7 | use Symfony\Component\Console\Input\InputInterface; |
9 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
10 | - |
|
11 | 9 | use Oro\Bundle\CronBundle\Command\CronCommandInterface; |
12 | - |
|
13 | 10 | use Oro\Bundle\ReminderBundle\Model\ReminderSender; |
14 | 11 | use Oro\Bundle\ReminderBundle\Entity\Repository\ReminderRepository; |
15 | 12 | use Oro\Bundle\ReminderBundle\Entity\Reminder; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use FOS\RestBundle\Controller\FOSRestController; |
7 | 7 | use FOS\RestBundle\Routing\ClassResourceInterface; |
8 | 8 | use FOS\RestBundle\Util\Codes; |
9 | - |
|
10 | 9 | use Oro\Bundle\ReminderBundle\Entity\Reminder; |
11 | 10 | |
12 | 11 | /** |
@@ -185,7 +185,7 @@ |
||
185 | 185 | /** |
186 | 186 | * Get elements to delete |
187 | 187 | * |
188 | - * @return array |
|
188 | + * @return ReminderDataInterface[] |
|
189 | 189 | */ |
190 | 190 | public function getDeleteDiff() |
191 | 191 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\AbstractLazyCollection; |
6 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
7 | - |
|
8 | 7 | use Oro\Bundle\ReminderBundle\Model\ReminderDataInterface; |
9 | 8 | use Oro\Bundle\ReminderBundle\Entity\Repository\ReminderRepository; |
10 | 9 |
@@ -388,7 +388,7 @@ |
||
388 | 388 | /** |
389 | 389 | * Get related entity class name |
390 | 390 | * |
391 | - * @return string |
|
391 | + * @return integer |
|
392 | 392 | */ |
393 | 393 | public function getRelatedEntityClassName() |
394 | 394 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\ReminderBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro; |
8 | 7 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
9 | 8 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\ReminderBundle\Model\Email; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Oro\Bundle\EmailBundle\Entity\EmailTemplate; |
8 | 7 | use Oro\Bundle\EntityBundle\Provider\EntityNameResolver; |
9 | 8 | use Oro\Bundle\NotificationBundle\Processor\SenderAwareEmailNotificationInterface; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\ReminderBundle\Model; |
4 | 4 | |
5 | 5 | use Symfony\Component\Routing\RouterInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; |
8 | 7 | use Oro\Bundle\ReminderBundle\Entity\Reminder; |
9 | 8 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\ReminderBundle\Tests\Unit\Entity\Collection; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | - |
|
7 | 6 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
8 | 7 | use Oro\Bundle\ReminderBundle\Entity\Collection\RemindersPersistentCollection; |
9 | 8 | use Oro\Bundle\ReminderBundle\Entity\Manager\ReminderManager; |