Skip to content

Commit

Permalink
Merge pull request #20 from nntoan/gorira
Browse files Browse the repository at this point in the history
Fix Codacy issues for Gojira\Application.php
  • Loading branch information
nntoan committed Aug 25, 2017
2 parents 69cda4f + 4a34aa5 commit f82bd77
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Gojira/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Application extends Container
/**
* @var ServiceProviderInterface[]
*/
private $providers = array();
private $providers = [];

/**
* @var boolean
Expand All @@ -52,24 +52,24 @@ class Application extends Container
* @param string|null $version Version number for this application.
* @param array $values
*/
public function __construct($name, $version = null, array $values = array())
public function __construct($name, $version = null, array $values = [])
{
parent::__construct($values);

$this->register(new DispatcherServiceProvider);
$this->register(
new ConsoleServiceProvider,
array(
[
'console.name' => $name,
'console.version' => $version,
)
]
);
}

/**
* {@inheritdoc}
*/
public function register(ServiceProviderInterface $provider, array $values = array())
public function register(ServiceProviderInterface $provider, array $values = [])
{
parent::register($provider, $values);

Expand Down

0 comments on commit f82bd77

Please sign in to comment.