@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * @param \PHPUnit_Framework_MockObject_MockObject $mock |
9 | 9 | * @param array $expectedCalls |
10 | - * @param object|null $callbacksContext |
|
10 | + * @param Autocomplete\SearchHandlerTest $callbacksContext |
|
11 | 11 | */ |
12 | 12 | public static function addMockExpectedCalls( |
13 | 13 | \PHPUnit_Framework_MockObject_MockObject $mock, |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
79 | - * @return object |
|
79 | + * @return \stdClass |
|
80 | 80 | */ |
81 | 81 | protected function getObject() |
82 | 82 | { |
@@ -492,7 +492,7 @@ discard block |
||
492 | 492 | |
493 | 493 | /** |
494 | 494 | * @param \PHPUnit_Framework_MockObject_MockObject|Form $form |
495 | - * @param object $entity |
|
495 | + * @param \stdClass $entity |
|
496 | 496 | * @param string $wid |
497 | 497 | * @return array |
498 | 498 | */ |
@@ -518,7 +518,7 @@ discard block |
||
518 | 518 | |
519 | 519 | /** |
520 | 520 | * @param FormInterface $form |
521 | - * @param object $entity |
|
521 | + * @param \stdClass $entity |
|
522 | 522 | */ |
523 | 523 | protected function assertProcessEventsTriggered(FormInterface $form, $entity) |
524 | 524 | { |
@@ -533,7 +533,7 @@ discard block |
||
533 | 533 | |
534 | 534 | /** |
535 | 535 | * @param FormInterface $form |
536 | - * @param object $entity |
|
536 | + * @param \stdClass $entity |
|
537 | 537 | */ |
538 | 538 | protected function assertProcessAfterEventsTriggered(FormInterface $form, $entity) |
539 | 539 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -41,7 +41,7 @@ |
||
41 | 41 | * Appends CSS class(es) to given form view |
42 | 42 | * |
43 | 43 | * @param FormView $view |
44 | - * @param string|[] $cssClass |
|
44 | + * @param string|[] $cssClasses |
|
45 | 45 | */ |
46 | 46 | public static function appendClass(FormView $view, $cssClasses) |
47 | 47 | { |
@@ -3,8 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\HelpBundle\DependencyInjection; |
4 | 4 | |
5 | 5 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
6 | -use Symfony\Component\Config\Definition\ConfigurationInterface; |
|
7 | -use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; |
|
8 | 6 | |
9 | 7 | class ApplicationConfiguration extends AbstractConfiguration |
10 | 8 | { |
@@ -137,7 +137,7 @@ |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
140 | - * @param null $query |
|
140 | + * @param string $query |
|
141 | 141 | * |
142 | 142 | * @return mixed |
143 | 143 | */ |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | |
98 | 98 | /** |
99 | 99 | * @param string $itemName The property name |
100 | - * @param mixed $itemValue A constant the property value is compared |
|
100 | + * @param string $itemValue A constant the property value is compared |
|
101 | 101 | * @param int $match The match type. One of SearchQueryMatch::* values |
102 | 102 | * @return string |
103 | 103 | * @throws \InvalidArgumentException |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | /** |
157 | 157 | * Returns a string represents the given date in format required for search query criterion. |
158 | 158 | * |
159 | - * @param mixed $value |
|
159 | + * @param \DateTime $value |
|
160 | 160 | * @return string |
161 | 161 | */ |
162 | 162 | abstract protected function formatDate($value); |
@@ -129,7 +129,7 @@ |
||
129 | 129 | /** |
130 | 130 | * @param int|null $id |
131 | 131 | * |
132 | - * @return Organization|null |
|
132 | + * @return null|\Oro\Bundle\OrganizationBundle\Entity\OrganizationInterface |
|
133 | 133 | */ |
134 | 134 | protected function getOrganization($id) |
135 | 135 | { |
@@ -4,16 +4,13 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\WorkflowBundle\Model\ContextAccessor; |
6 | 6 | use Symfony\Component\Form\Test\FormIntegrationTestCase; |
7 | - |
|
8 | 7 | use Oro\Bundle\WorkflowBundle\Form\EventListener\DefaultValuesListener; |
9 | 8 | use Oro\Bundle\WorkflowBundle\Form\EventListener\InitActionsListener; |
10 | 9 | use Oro\Bundle\WorkflowBundle\Form\EventListener\RequiredAttributesListener; |
11 | 10 | use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowAttributesType; |
12 | - |
|
13 | 11 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
14 | 12 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
15 | 13 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefinition; |
16 | - |
|
17 | 14 | use Oro\Bundle\WorkflowBundle\Model\Step; |
18 | 15 | use Oro\Bundle\WorkflowBundle\Model\Attribute; |
19 | 16 | use Oro\Bundle\WorkflowBundle\Model\WorkflowData; |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | /** |
136 | 136 | * Gets the port of SMTP server |
137 | 137 | * |
138 | - * @return int |
|
138 | + * @return string |
|
139 | 139 | */ |
140 | 140 | public function getSmtpPort() |
141 | 141 | { |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | /** |
160 | 160 | * Gets the port of IMAP server |
161 | 161 | * |
162 | - * @return int |
|
162 | + * @return string |
|
163 | 163 | */ |
164 | 164 | public function getImapPort() |
165 | 165 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |
@@ -60,7 +60,7 @@ |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * @param ArrayCollection|EmailFolder[] $folders |
|
63 | + * @param ArrayCollection $folders |
|
64 | 64 | * @param ImapEmailFolderManager $manager |
65 | 65 | */ |
66 | 66 | protected function createImapEmailFolders($folders, ImapEmailFolderManager $manager) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Component\PropertyAccess\Tests\Unit; |
4 | 4 | |
5 | 5 | use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
6 | - |
|
7 | 6 | use Oro\Component\PropertyAccess\PropertyAccessor; |
8 | 7 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass; |
9 | 8 | use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall; |