Skip to content

Commit

Permalink
Add missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyvdSluijs committed Jan 16, 2022
1 parent 14ce4c2 commit 4d06c6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"require": {
"json-mapper/json-mapper": "^2.0",
"php": "^7.2 || ^8.0",
"symfony/http-kernel": "^4.4 | ^5.1.5",
"symfony/dependency-injection": "^4.4 | ^5.0",
"symfony/config": "^4.4 | ^5.0"
"symfony/http-kernel": "^4.4 | ^5.1.5 | ^6.0",
"symfony/dependency-injection": "^4.4 | ^5.0 | ^6.0",
"symfony/config": "^4.4 | ^5.0 | ^6.0"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 2 additions & 1 deletion src/JsonMapperBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
namespace JsonMapper\SymfonyBundle;

use JsonMapper\SymfonyBundle\DependencyInjection\JsonMapperExtension;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;

class JsonMapperBundle extends Bundle
{
/**
* @return JsonMapperExtension
*/
public function getContainerExtension()
public function getContainerExtension(): ?ExtensionInterface
{
return new JsonMapperExtension();
}
Expand Down

0 comments on commit 4d06c6c

Please sign in to comment.