@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Oro\Bundle\TestFrameworkBundle\Pages; |
4 | 4 | |
5 | -use PHPUnit_Framework_Assert; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * Class AbstractPageGrid |
9 | 7 | * |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | * Get all elements from data grid |
167 | 167 | * |
168 | 168 | * @param null|int $id |
169 | - * @return array PHPUnit_Extensions_Selenium2TestCase_Element |
|
169 | + * @return \PHPUnit_Extensions_Selenium2TestCase_Element[] PHPUnit_Extensions_Selenium2TestCase_Element |
|
170 | 170 | */ |
171 | 171 | public function getRows($id = null) |
172 | 172 | { |
@@ -380,7 +380,7 @@ discard block |
||
380 | 380 | } |
381 | 381 | |
382 | 382 | /** |
383 | - * @param $columnName |
|
383 | + * @param string $columnName |
|
384 | 384 | * @param string $order DESC or ASC |
385 | 385 | * @return $this |
386 | 386 | */ |
@@ -415,7 +415,7 @@ discard block |
||
415 | 415 | /** |
416 | 416 | * Change page size |
417 | 417 | * |
418 | - * @param string|int $pageSize |
|
418 | + * @param string $pageSize |
|
419 | 419 | * @return $this |
420 | 420 | */ |
421 | 421 | public function changePageSize($pageSize) |
@@ -463,7 +463,7 @@ discard block |
||
463 | 463 | |
464 | 464 | /** |
465 | 465 | * Method checks if no item in action grid menu |
466 | - * @param $actionName |
|
466 | + * @param string $actionName |
|
467 | 467 | * @return $this |
468 | 468 | * @throws \PHPUnit_Framework_AssertionFailedError |
469 | 469 | */ |
@@ -36,6 +36,8 @@ |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * {@inheritdoc} |
39 | + * @param string $method |
|
40 | + * @param string $uri |
|
39 | 41 | */ |
40 | 42 | public function request( |
41 | 43 | $method, |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\DBAL\Connection; |
6 | 6 | use Doctrine\DBAL\Driver\PDOConnection; |
7 | - |
|
8 | 7 | use Symfony\Component\HttpFoundation\Response; |
9 | 8 | use Symfony\Component\HttpKernel\KernelInterface; |
10 | 9 | use Symfony\Component\HttpKernel\TerminableInterface; |
@@ -110,7 +110,7 @@ |
||
110 | 110 | } |
111 | 111 | |
112 | 112 | /** |
113 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\DependencyInjection\ContainerBuilder |
|
113 | + * @return \Symfony\Component\DependencyInjection\ContainerBuilder |
|
114 | 114 | */ |
115 | 115 | protected function getContainerMock() |
116 | 116 | { |
@@ -6,16 +6,13 @@ |
||
6 | 6 | use Doctrine\Common\DataFixtures\Executor\ORMExecutor; |
7 | 7 | use Doctrine\Common\DataFixtures\Purger\ORMPurger; |
8 | 8 | use Doctrine\Common\DataFixtures\ReferenceRepository; |
9 | - |
|
10 | 9 | use Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader as DataFixturesLoader; |
11 | - |
|
12 | 10 | use Symfony\Component\Console\Output\StreamOutput; |
13 | 11 | use Symfony\Component\Yaml\Yaml; |
14 | 12 | use Symfony\Component\Finder\Finder; |
15 | 13 | use Symfony\Component\HttpFoundation\Response; |
16 | 14 | use Symfony\Component\Console\Input\ArgvInput; |
17 | 15 | use Symfony\Component\DependencyInjection\ContainerInterface; |
18 | - |
|
19 | 16 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
20 | 17 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase as BaseWebTestCase; |
21 | 18 |
@@ -313,7 +313,7 @@ |
||
313 | 313 | } |
314 | 314 | |
315 | 315 | /** |
316 | - * @param array $classNames |
|
316 | + * @param string[] $classNames |
|
317 | 317 | * @param bool $force |
318 | 318 | */ |
319 | 319 | protected function loadFixtures(array $classNames, $force = false) |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
8 | 8 | use Doctrine\Common\DataFixtures\OrderedFixtureInterface; |
9 | 9 | use Doctrine\Common\Persistence\ObjectManager; |
10 | - |
|
11 | 10 | use Oro\Bundle\TestFrameworkBundle\Entity\Product; |
12 | 11 | |
13 | 12 | /** |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
6 | 6 | use Doctrine\ORM\Tools\SchemaTool; |
7 | - |
|
8 | 7 | use Oro\Bundle\SearchBundle\Command\AddFulltextIndexesCommand; |
9 | 8 | |
10 | 9 | class PerformanceTest extends WebTestCase |
@@ -52,6 +52,9 @@ |
||
52 | 52 | } |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param boolean $isActive |
|
57 | + */ |
|
55 | 58 | protected function outputTheme(OutputInterface $output, Theme $theme, $isActive) |
56 | 59 | { |
57 | 60 | if ($isActive) { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Symfony\Component\Console\Input\InputInterface; |
6 | 6 | use Symfony\Component\Console\Output\OutputInterface; |
7 | 7 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
8 | - |
|
9 | 8 | use Oro\Bundle\ThemeBundle\Model\ThemeRegistry; |
10 | 9 | use Oro\Bundle\ThemeBundle\Model\Theme; |
11 | 10 |
@@ -180,7 +180,7 @@ |
||
180 | 180 | /** |
181 | 181 | * Get value |
182 | 182 | * |
183 | - * @return float |
|
183 | + * @return string |
|
184 | 184 | */ |
185 | 185 | public function getValue() |
186 | 186 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\TrackingBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | - |
|
7 | 6 | use Oro\Bundle\TrackingBundle\Model\ExtendTrackingEvent; |
8 | 7 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config; |
9 | 8 | use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField; |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Oro\Bundle\TrackingBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormInterface; |
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | - |
|
10 | 8 | use Oro\Bundle\TrackingBundle\Entity\TrackingWebsite; |
11 | 9 | |
12 | 10 | class TrackingWebsiteHandler |