@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | * @param integer $entityId |
132 | 132 | * @param array $filter |
133 | 133 | * |
134 | - * @return ActivityList[] |
|
134 | + * @return string|boolean |
|
135 | 135 | */ |
136 | 136 | public function getListCount($entityClass, $entityId, $filter) |
137 | 137 | { |
@@ -279,9 +279,11 @@ discard block |
||
279 | 279 | /** |
280 | 280 | * Get Grouped Entities by Activity Entity |
281 | 281 | * |
282 | - * @param object $entity |
|
282 | + * @param \stdClass $entity |
|
283 | 283 | * @param string $widgetId |
284 | 284 | * @param array $filterMetadata |
285 | + * @param string $targetActivityClass |
|
286 | + * @param string $targetActivityId |
|
285 | 287 | * |
286 | 288 | * @return array |
287 | 289 | */ |
@@ -333,7 +335,7 @@ discard block |
||
333 | 335 | |
334 | 336 | /** |
335 | 337 | * @param ActivityList $entity |
336 | - * @param object $entityProvider |
|
338 | + * @param \Oro\Bundle\ActivityListBundle\Model\ActivityListProviderInterface $entityProvider |
|
337 | 339 | * |
338 | 340 | * @return bool |
339 | 341 | */ |
@@ -349,7 +351,7 @@ discard block |
||
349 | 351 | |
350 | 352 | /** |
351 | 353 | * @param ActivityList $entity |
352 | - * @param object $entityProvider |
|
354 | + * @param \Oro\Bundle\ActivityListBundle\Model\ActivityListProviderInterface $entityProvider |
|
353 | 355 | * |
354 | 356 | * @return array |
355 | 357 | */ |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use Doctrine\Bundle\DoctrineBundle\Registry; |
6 | 6 | use Doctrine\ORM\EntityManager; |
7 | 7 | use Doctrine\ORM\QueryBuilder; |
8 | - |
|
9 | 8 | use Symfony\Component\Security\Core\Util\ClassUtils; |
10 | - |
|
11 | 9 | use Oro\Bundle\ActivityListBundle\Model\ActivityListGroupProviderInterface; |
12 | 10 | use Oro\Bundle\ActivityListBundle\Filter\ActivityListFilterHelper; |
13 | 11 | use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
7 | - |
|
8 | 7 | use Oro\Bundle\ActivityListBundle\Entity\ActivityList; |
9 | 8 | use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider; |
10 | 9 | use Oro\Bundle\ActivityListBundle\Model\ActivityListProviderInterface; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityRepository; |
6 | 6 | use Doctrine\ORM\QueryBuilder; |
7 | - |
|
8 | 7 | use Oro\Bundle\ActivityListBundle\Tools\ActivityListEntityConfigDumperExtension; |
9 | 8 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
10 | 9 |
@@ -369,7 +369,6 @@ |
||
369 | 369 | } |
370 | 370 | |
371 | 371 | /** |
372 | - * @param string $columnName |
|
373 | 372 | * |
374 | 373 | * @return string |
375 | 374 | */ |
@@ -5,11 +5,8 @@ |
||
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Doctrine\ORM\Mapping\ClassMetadata; |
7 | 7 | use Doctrine\ORM\QueryBuilder; |
8 | - |
|
9 | 8 | use LogicException; |
10 | - |
|
11 | 9 | use Symfony\Component\Form\FormFactoryInterface; |
12 | - |
|
13 | 10 | use Oro\Bundle\ActivityBundle\Tools\ActivityAssociationHelper; |
14 | 11 | use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider; |
15 | 12 | use Oro\Bundle\ActivityListBundle\Form\Type\ActivityListFilterType; |
@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
7 | - |
|
8 | 7 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
9 | 8 | use Symfony\Component\DependencyInjection\ContainerInterface; |
10 | 9 | use Symfony\Component\PropertyAccess\PropertyAccess; |
11 | - |
|
12 | 10 | use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider; |
13 | 11 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
14 | 12 | use Oro\Bundle\UserBundle\Entity\User; |
@@ -4,12 +4,10 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
6 | 6 | use Symfony\Component\DependencyInjection\ContainerInterface; |
7 | - |
|
8 | 7 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
9 | 8 | use Doctrine\Common\DataFixtures\AbstractFixture; |
10 | 9 | use Doctrine\Common\Persistence\ObjectManager; |
11 | 10 | use Doctrine\ORM\QueryBuilder; |
12 | - |
|
13 | 11 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
14 | 12 | use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider; |
15 | 13 | use Oro\Bundle\ActivityListBundle\Entity\ActivityList; |
@@ -322,7 +322,7 @@ |
||
322 | 322 | } |
323 | 323 | |
324 | 324 | /** |
325 | - * @param object $entity |
|
325 | + * @param \stdClass $entity |
|
326 | 326 | * |
327 | 327 | * @return string|null |
328 | 328 | */ |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace Oro\Bundle\ActivityListBundle\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Symfony\Component\Translation\TranslatorInterface; |
8 | - |
|
9 | 7 | use Oro\Bundle\ConfigBundle\Config\ConfigManager as Config; |
10 | 8 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
11 | 9 | use Oro\Bundle\EntityBundle\Tools\EntityRoutingHelper; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | 6 | use Doctrine\Common\DataFixtures\AbstractFixture; |
7 | - |
|
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Entity\TestActivity; |
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Entity\TestActivityTarget; |
10 | 9 | use Oro\Bundle\UserBundle\Entity\User; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\ActivityListBundle\Tests\Unit\Placeholder; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
6 | - |
|
7 | 6 | use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope; |
8 | 7 | use Oro\Bundle\ActivityListBundle\Placeholder\PlaceholderFilter; |
9 | 8 | use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider; |