Skip to content

Commit

Permalink
Merge 9d9fd05 into 50974bc
Browse files Browse the repository at this point in the history
  • Loading branch information
wbloszyk committed Jul 20, 2020
2 parents 50974bc + 9d9fd05 commit 88a05e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"require-dev": {
"simplethings/entity-audit-bundle": "^0.9 || ^1.0",
"sonata-project/block-bundle": "^3.17",
"sonata-project/block-bundle": "^3.17 || ^4.0",
"symfony/phpunit-bridge": "^5.0"
},
"suggest": {
Expand Down
8 changes: 4 additions & 4 deletions src/Block/AuditBlockService.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function __construct($templatingOrDeprecatedName, object $templatingOrAud
}
}

public function execute(BlockContextInterface $blockContext, ?Response $response = null)
public function execute(BlockContextInterface $blockContext, ?Response $response = null): Response
{
$revisions = [];

Expand All @@ -110,16 +110,16 @@ public function execute(BlockContextInterface $blockContext, ?Response $response
], $response);
}

public function buildEditForm(FormMapper $formMapper, BlockInterface $block)
public function buildEditForm(FormMapper $formMapper, BlockInterface $block): void
{
}

public function getName()
public function getName(): string
{
return 'Audit List';
}

public function configureSettings(OptionsResolver $resolver)
public function configureSettings(OptionsResolver $resolver): void
{
$resolver->setDefaults([
'limit' => 10,
Expand Down

0 comments on commit 88a05e6

Please sign in to comment.