@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\Query; |
6 | 6 | use Doctrine\ORM\QueryBuilder; |
7 | - |
|
8 | 7 | use Symfony\Component\DependencyInjection\ContainerInterface; |
9 | 8 | use Symfony\Component\HttpFoundation\File\Exception\UnexpectedTypeException; |
10 | 9 | use Symfony\Component\HttpFoundation\Request; |
11 | - |
|
12 | 10 | use Oro\Bundle\DataGridBundle\Datagrid\Builder; |
13 | 11 | use Oro\Bundle\DataGridBundle\Datagrid\Manager; |
14 | 12 | use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface; |
@@ -139,7 +139,7 @@ |
||
139 | 139 | * @param string $paramName |
140 | 140 | * @param mixed $default |
141 | 141 | * |
142 | - * @return mixed |
|
142 | + * @return integer |
|
143 | 143 | */ |
144 | 144 | protected function getOr($paramName, $default = null) |
145 | 145 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
6 | 6 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
7 | - |
|
8 | 7 | use Oro\Bundle\ConfigBundle\Config\ConfigManager; |
9 | 8 | |
10 | 9 | class Configuration implements ConfigurationInterface |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Oro\Bundle\DataGridBundle\Form\Handler; |
4 | 4 | |
5 | 5 | use Doctrine\Bundle\DoctrineBundle\Registry; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormInterface; |
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | - |
|
10 | 8 | use Oro\Bundle\DataGridBundle\Entity\GridView; |
11 | 9 | |
12 | 10 | class GridViewApiHandler |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
6 | 6 | use Symfony\Component\DependencyInjection\ContainerInterface; |
7 | - |
|
8 | 7 | use Oro\Bundle\UIBundle\Tools\ArrayUtils; |
9 | 8 | |
10 | 9 | class SystemAwareResolver implements ContainerAwareInterface |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | 6 | use Doctrine\Common\DataFixtures\AbstractFixture; |
7 | 7 | use Doctrine\Common\Persistence\ObjectManager; |
8 | - |
|
9 | 8 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
10 | 9 | use Symfony\Component\DependencyInjection\ContainerInterface; |
11 | 10 |
@@ -72,6 +72,9 @@ |
||
72 | 72 | $this->doTestGuess('guessFilter'); |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param string $guessMethodName |
|
77 | + */ |
|
75 | 78 | public function doTestGuess($guessMethodName) |
76 | 79 | { |
77 | 80 | $class = 'TestClass'; |
@@ -99,6 +99,9 @@ |
||
99 | 99 | ); |
100 | 100 | } |
101 | 101 | |
102 | + /** |
|
103 | + * @param string $entityClass |
|
104 | + */ |
|
102 | 105 | protected function prepareEntityManagerForTestHints($entityClass) |
103 | 106 | { |
104 | 107 | $connection = $this->getMockBuilder('Doctrine\DBAL\Connection') |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Doctrine\ORM\Configuration; |
7 | 7 | use Doctrine\ORM\Mapping\ClassMetadata; |
8 | 8 | use Doctrine\DBAL\Platforms\MySqlPlatform; |
9 | - |
|
10 | 9 | use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource; |
11 | 10 | use Oro\Bundle\EntityBundle\ORM\QueryHintResolver; |
12 | 11 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface; |
6 | 6 | use Symfony\Component\Routing\RouterInterface; |
7 | - |
|
8 | 7 | use Oro\Bundle\DataGridBundle\Datagrid\Builder; |
9 | 8 | use Oro\Bundle\DataGridBundle\Datagrid\ManagerInterface; |
10 | 9 | use Oro\Bundle\DataGridBundle\Datagrid\NameStrategyInterface; |