@@ -51,6 +51,9 @@ discard block |
||
51 | 51 | return new OroAdministration($this->test); |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $value |
|
56 | + */ |
|
54 | 57 | public function setPassword($value) |
55 | 58 | { |
56 | 59 | $this->password->clear(); |
@@ -58,6 +61,9 @@ discard block |
||
58 | 61 | return $this; |
59 | 62 | } |
60 | 63 | |
64 | + /** |
|
65 | + * @param string $value |
|
66 | + */ |
|
61 | 67 | public function setUser($value) |
62 | 68 | { |
63 | 69 | $this->user->clear(); |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
6 | 6 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
7 | - |
|
8 | 7 | use Oro\Bundle\CronBundle\Command\CronCommandInterface; |
9 | 8 | |
10 | 9 | abstract class AbstractSyncCronCommand extends ContainerAwareCommand implements CronCommandInterface |
@@ -5,14 +5,10 @@ |
||
5 | 5 | use Symfony\Component\Form\FormInterface; |
6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
7 | 7 | use Symfony\Component\HttpFoundation\JsonResponse; |
8 | - |
|
9 | 8 | use FOS\RestBundle\Util\Codes; |
10 | - |
|
11 | 9 | use JMS\JobQueueBundle\Entity\Job; |
12 | - |
|
13 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
14 | 11 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
15 | - |
|
16 | 12 | use Oro\Bundle\SecurityBundle\Annotation\Acl; |
17 | 13 | use Oro\Bundle\SecurityBundle\Annotation\AclAncestor; |
18 | 14 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
@@ -271,7 +271,7 @@ |
||
271 | 271 | } |
272 | 272 | |
273 | 273 | /** |
274 | - * @return array |
|
274 | + * @return null|callable |
|
275 | 275 | */ |
276 | 276 | public function getConnectors() |
277 | 277 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | 6 | use Doctrine\Common\Collections\ArrayCollection; |
7 | - |
|
8 | 7 | use Oro\Bundle\DataGridBundle\Common\Object as ConfigObject; |
9 | 8 | use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit; |
10 | 9 | use Oro\Bundle\UserBundle\Entity\User; |
@@ -102,7 +102,7 @@ |
||
102 | 102 | /** |
103 | 103 | * Get entityId |
104 | 104 | * |
105 | - * @return integer |
|
105 | + * @return string |
|
106 | 106 | */ |
107 | 107 | public function getEntityId() |
108 | 108 | { |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use Doctrine\Common\Collections\Criteria; |
6 | 6 | use Doctrine\ORM\EntityRepository; |
7 | 7 | use Doctrine\ORM\QueryBuilder; |
8 | - |
|
9 | 8 | use JMS\JobQueueBundle\Entity\Job; |
10 | - |
|
11 | 9 | use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator; |
12 | 10 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
13 | 11 | use Oro\Bundle\IntegrationBundle\Entity\Status; |
@@ -136,7 +136,7 @@ |
||
136 | 136 | } |
137 | 137 | |
138 | 138 | /** |
139 | - * @param string[]|string $commandName |
|
139 | + * @param string $commandName |
|
140 | 140 | * @param string[]|string|null $arguments |
141 | 141 | * @param string[]|string|null $states |
142 | 142 | * |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Event; |
4 | 4 | |
5 | 5 | use Symfony\Component\EventDispatcher\Event; |
6 | - |
|
7 | 6 | use Doctrine\ORM\EntityManager; |
8 | 7 | |
9 | 8 | class WriterAfterFlushEvent extends Event |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\EventListener; |
4 | 4 | |
5 | 5 | use Akeneo\Bundle\BatchBundle\Job\DoctrineJobRepository; |
6 | - |
|
7 | 6 | use Oro\Bundle\IntegrationBundle\Event\WriterAfterFlushEvent; |
8 | 7 | |
9 | 8 | class KeepAliveListener |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * |
194 | 194 | * @param string $type |
195 | 195 | * |
196 | - * @return callable |
|
196 | + * @return \Closure |
|
197 | 197 | */ |
198 | 198 | protected function getTransportTypeModifierClosure($type) |
199 | 199 | { |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | * |
215 | 215 | * @param string $type |
216 | 216 | * |
217 | - * @return callable |
|
217 | + * @return \Closure |
|
218 | 218 | */ |
219 | 219 | protected function getConnectorsModifierClosure($type) |
220 | 220 | { |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | * @param string $integrationType |
237 | 237 | * @param string $transportType |
238 | 238 | * |
239 | - * @return callable |
|
239 | + * @return \Closure |
|
240 | 240 | */ |
241 | 241 | protected function getTransportModifierClosure($integrationType, $transportType) |
242 | 242 | { |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | * @param string $type |
268 | 268 | * @param string $formName |
269 | 269 | * |
270 | - * @return callable |
|
270 | + * @return \Closure |
|
271 | 271 | */ |
272 | 272 | protected function getDynamicModifierClosure($type, $formName) |
273 | 273 | { |
@@ -3,12 +3,10 @@ |
||
3 | 3 | namespace Oro\Bundle\IntegrationBundle\Form\EventListener; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Util\Inflector; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormEvent; |
8 | 7 | use Symfony\Component\Form\FormEvents; |
9 | 8 | use Symfony\Component\Form\FormInterface; |
10 | 9 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
11 | - |
|
12 | 10 | use Oro\Bundle\FormBundle\Utils\FormUtils; |
13 | 11 | use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration; |
14 | 12 | use Oro\Bundle\IntegrationBundle\Manager\TypesRegistry; |