Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed Jul 25, 2022
1 parent 782e2ad commit dd60d3b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 15 deletions.
2 changes: 0 additions & 2 deletions src/Admin/BaseBlockAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
use Symfony\Component\OptionsResolver\OptionsResolver;

/**
* Abstract admin class for the Block model.
*
* @extends AbstractAdmin<PageBlockInterface>
*
* @author Thomas Rabaix <[email protected]>
Expand Down
4 changes: 1 addition & 3 deletions src/Admin/BlockAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
use Symfony\Component\OptionsResolver\OptionsResolver;

/**
* Admin class for the Block model.
*
* @author Thomas Rabaix <[email protected]>
*/
final class BlockAdmin extends BaseBlockAdmin
Expand All @@ -39,7 +37,7 @@ final class BlockAdmin extends BaseBlockAdmin

protected $classnameLabel = 'Block';

protected $accessMapping = [
protected array $accessMapping = [
'savePosition' => 'EDIT',
'switchParent' => 'EDIT',
'composePreview' => 'EDIT',
Expand Down
4 changes: 1 addition & 3 deletions src/Admin/PageAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
use Symfony\Component\Form\Extension\Core\Type\TextType;

/**
* Admin definition for the Page class.
*
* @extends AbstractAdmin<PageInterface>
*
* @author Thomas Rabaix <[email protected]>
Expand All @@ -50,7 +48,7 @@ final class PageAdmin extends AbstractAdmin

protected ?SiteManagerInterface $siteManager = null;

protected $accessMapping = [
protected array $accessMapping = [
'tree' => 'LIST',
'compose' => 'EDIT',
];
Expand Down
2 changes: 0 additions & 2 deletions src/Admin/SharedBlockAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
use Sonata\PageBundle\Mapper\PageFormMapper;

/**
* Admin class for shared Block model.
*
* @author Romain Mouillard <[email protected]>
*/
final class SharedBlockAdmin extends BaseBlockAdmin
Expand Down
2 changes: 0 additions & 2 deletions src/Admin/SiteAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
use Symfony\Component\Form\Extension\Core\Type\TextareaType;

/**
* Admin definition for the Site class.
*
* @extends AbstractAdmin<SiteInterface>
*
* @author Thomas Rabaix <[email protected]>
Expand Down
4 changes: 1 addition & 3 deletions src/Admin/SnapshotAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
use Sonata\PageBundle\Model\SnapshotInterface;

/**
* Admin definition for the Snapshot class.
*
* @extends AbstractAdmin<SnapshotInterface>
*
* @author Thomas Rabaix <[email protected]>
Expand All @@ -31,7 +29,7 @@ final class SnapshotAdmin extends AbstractAdmin
{
protected $classnameLabel = 'Snapshot';

protected $accessMapping = [
protected array $accessMapping = [
'batchToggleEnabled' => 'EDIT',
];

Expand Down

0 comments on commit dd60d3b

Please sign in to comment.