@@ -99,7 +99,7 @@ |
||
99 | 99 | * |
100 | 100 | * @param DatagridConfiguration $config |
101 | 101 | * |
102 | - * @return mixed |
|
102 | + * @return DatagridConfiguration |
|
103 | 103 | */ |
104 | 104 | public function setConfig(DatagridConfiguration $config) |
105 | 105 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Translation\TranslatorInterface; |
6 | 6 | use Symfony\Component\DependencyInjection\ContainerInterface; |
7 | - |
|
8 | 7 | use Oro\Bundle\DataGridBundle\Datagrid\Common\MetadataObject; |
9 | 8 | use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; |
10 | 9 | use Oro\Bundle\DataGridBundle\Exception\RuntimeException; |
@@ -3,11 +3,8 @@ |
||
3 | 3 | namespace Oro\Bundle\DataGridBundle\Extension\Export; |
4 | 4 | |
5 | 5 | use Symfony\Component\Translation\TranslatorInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Extension\AbstractExtension; |
8 | -use Oro\Bundle\DataGridBundle\Datagrid\Common\MetadataObject; |
|
9 | 7 | use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; |
10 | -use Oro\Bundle\DataGridBundle\Extension\Toolbar\ToolbarExtension; |
|
11 | 8 | |
12 | 9 | class ExportExtension extends AbstractExtension |
13 | 10 | { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | protected $root; |
23 | 23 | |
24 | 24 | /** |
25 | - * @param $types |
|
25 | + * @param integer[] $types |
|
26 | 26 | * @param string $root |
27 | 27 | */ |
28 | 28 | public function __construct($types, $root) |
@@ -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\DataGridBundle\Extension\Formatter\Property\PropertyInterface; |
9 | 8 | |
10 | 9 | class Configuration implements ConfigurationInterface |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\DataGridBundle\Extension\Formatter; |
4 | 4 | |
5 | 5 | use Symfony\Component\Translation\TranslatorInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Extension\AbstractExtension; |
8 | 7 | use Oro\Bundle\DataGridBundle\Extension\Formatter\Property\PropertyConfiguration; |
9 | 8 | use Oro\Bundle\DataGridBundle\Extension\Formatter\Property\PropertyInterface; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\DataGridBundle\Extension\Formatter\Property; |
4 | 4 | |
5 | 5 | use Symfony\Component\Translation\TranslatorInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface; |
8 | 7 | |
9 | 8 | class FieldProperty extends AbstractProperty |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\DataGridBundle\Extension\Formatter\Property; |
4 | 4 | |
5 | 5 | use Symfony\Component\Routing\RouterInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface; |
8 | 7 | use Oro\Bundle\UIBundle\Twig\Environment; |
9 | 8 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\DataGridBundle\Extension\Formatter\Property; |
4 | 4 | |
5 | 5 | use Symfony\Component\Routing\RouterInterface; |
6 | - |
|
7 | 6 | use Oro\Bundle\DataGridBundle\Datasource\ResultRecordInterface; |
8 | 7 | |
9 | 8 | class UrlProperty extends AbstractProperty |
@@ -4,13 +4,11 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
6 | 6 | use Symfony\Component\Translation\TranslatorInterface; |
7 | - |
|
8 | 7 | use Oro\Bundle\DataGridBundle\Event\GridViewsLoadEvent; |
9 | 8 | use Oro\Bundle\DataGridBundle\Extension\AbstractExtension; |
10 | 9 | use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag; |
11 | 10 | use Oro\Bundle\DataGridBundle\Datagrid\Common\MetadataObject; |
12 | 11 | use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration; |
13 | - |
|
14 | 12 | use Oro\Bundle\SecurityBundle\SecurityFacade; |
15 | 13 | |
16 | 14 | class GridViewsExtension extends AbstractExtension |