Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
Add type hints for Symfony 4
Browse files Browse the repository at this point in the history
  • Loading branch information
tchapi committed May 15, 2019
1 parent b1a57d3 commit bc7ff66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SyliusArchetypeBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class SyliusArchetypeBundle extends AbstractResourceBundle
/**
* {@inheritdoc}
*/
public function getSupportedDrivers()
public function getSupportedDrivers(): array
{
return [
SyliusResourceBundle::DRIVER_DOCTRINE_ORM,
Expand All @@ -32,7 +32,7 @@ public function getSupportedDrivers()
/**
* {@inheritdoc}
*/
protected function getModelNamespace()
protected function getModelNamespace(): ?string
{
return 'Sylius\Component\Archetype\Model';
}
Expand Down

0 comments on commit bc7ff66

Please sign in to comment.