File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 12
12
namespace Sonata \MediaBundle \Admin ;
13
13
14
14
use Sonata \AdminBundle \Admin \Admin ;
15
+ use Sonata \AdminBundle \Admin \AdminInterface ;
15
16
use Sonata \AdminBundle \Form \FormMapper ;
16
- use Sonata \AdminBundle \Datagrid \DatagridMapper ;
17
17
use Sonata \AdminBundle \Datagrid \ListMapper ;
18
- use Sonata \AdminBundle \Show \ShowMapper ;
19
18
use Sonata \AdminBundle \Route \RouteCollection ;
20
19
use Sonata \MediaBundle \Provider \Pool ;
21
20
use Sonata \MediaBundle \Form \DataTransformer \ProviderDataTransformer ;
@@ -144,7 +143,7 @@ public function getNewInstance()
144
143
/**
145
144
* {@inheritdoc}
146
145
*/
147
- protected function configureSideMenu (MenuItemInterface $ menu , $ action , Admin $ childAdmin = null )
146
+ protected function configureSideMenu (MenuItemInterface $ menu , $ action , AdminInterface $ childAdmin = null )
148
147
{
149
148
if (!in_array ($ action , array ('edit ' , 'view ' ))) {
150
149
return ;
You can’t perform that action at this time.
0 commit comments