Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Merge 2.x into master
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Apr 15, 2020
2 parents 4415770 + fae087a commit 092d4fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .php_cs.dist
Expand Up @@ -32,6 +32,7 @@ $rules = [
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
'no_useless_else' => true,
'no_useless_return' => true,
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
'ordered_class_elements' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/Block/TreeBlockService.php
Expand Up @@ -51,7 +51,7 @@ public function buildEditForm(FormMapper $form, BlockInterface $block): void
/**
* {@inheritdoc}
*/
public function execute(BlockContextInterface $blockContext, Response $response = null)
public function execute(BlockContextInterface $blockContext, ?Response $response = null)
{
return $this->renderResponse($blockContext->getTemplate(), [
'block' => $blockContext->getBlock(),
Expand Down
2 changes: 1 addition & 1 deletion src/Datagrid/ProxyQuery.php
Expand Up @@ -61,7 +61,7 @@ class ProxyQuery implements ProxyQueryInterface
/**
* PHPCR ODM Document Manager.
*
* @var DocumentManager;
* @var DocumentManager
*/
protected $documentManager;

Expand Down

0 comments on commit 092d4fe

Please sign in to comment.