@@ -31,7 +31,7 @@ |
||
31 | 31 | private $file; |
32 | 32 | |
33 | 33 | /** |
34 | - * @param array|string $skeletonDirectory |
|
34 | + * @param string $skeletonDirectory |
|
35 | 35 | */ |
36 | 36 | public function __construct($skeletonDirectory) |
37 | 37 | { |
@@ -67,10 +67,10 @@ |
||
67 | 67 | |
68 | 68 | if ($this->isGranted('DELETE')) { |
69 | 69 | $actions['delete'] = array( |
70 | - 'label' => 'action_delete', |
|
71 | - 'translation_domain' => 'SonataAdminBundle', |
|
72 | - 'ask_confirmation' => true, |
|
73 | - ); |
|
70 | + 'label' => 'action_delete', |
|
71 | + 'translation_domain' => 'SonataAdminBundle', |
|
72 | + 'ask_confirmation' => true, |
|
73 | + ); |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | return $this->handleBatchActions($actions); |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Blast\Bundle\CoreBundle\Admin\Traits; |
13 | 13 | |
14 | 14 | use Blast\Bundle\CoreBundle\Admin\CoreAdmin; |
15 | -use Blast\Bundle\CoreBundle\DataSource\Iterator; |
|
16 | 15 | use Sonata\AdminBundle\Datagrid\DatagridMapper; |
17 | 16 | use Sonata\AdminBundle\Datagrid\ListMapper; |
18 | 17 | use Sonata\AdminBundle\Form\FormMapper; |
@@ -54,7 +54,7 @@ |
||
54 | 54 | } |
55 | 55 | $writer = $this->writers[$format]; |
56 | 56 | |
57 | - $callback = function () use ($source, $writer) { |
|
57 | + $callback = function() use ($source, $writer) { |
|
58 | 58 | $handler = Handler::create($source, $writer); |
59 | 59 | $handler->export(); |
60 | 60 | }; |
@@ -49,9 +49,9 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * getInterfaces. |
51 | 51 | * |
52 | - * @param ReflectionClass|string $class A ReflectionClass object or a class name |
|
52 | + * @param string $class A ReflectionClass object or a class name |
|
53 | 53 | * |
54 | - * @return array |
|
54 | + * @return string[] |
|
55 | 55 | */ |
56 | 56 | public static function getInterfaces($class) |
57 | 57 | { |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * |
109 | 109 | * This static method says if a class has a method |
110 | 110 | * |
111 | - * @param ReflectionClass|string $class A ReflectionClass object or a class name |
|
111 | + * @param \ReflectionClass $class A ReflectionClass object or a class name |
|
112 | 112 | * @param string $methodName a method name |
113 | 113 | * |
114 | 114 | * @return bool |