Skip to content

Commit

Permalink
remove unneeded passing of Pimple $app
Browse files Browse the repository at this point in the history
The $app variable is passed needlessly to getOrmDefaults
  • Loading branch information
iolloyd committed May 7, 2014
1 parent 3e5aaad commit f21fd45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class DoctrineOrmServiceProvider
{
public function register(\Pimple $app)
{
foreach ($this->getOrmDefaults($app) as $key => $value) {
foreach ($this->getOrmDefaults() as $key => $value) {
if (!isset($app[$key])) {
$app[$key] = $value;
}
Expand Down Expand Up @@ -375,7 +375,7 @@ public function register(\Pimple $app)
*
* @return array
*/
protected function getOrmDefaults(\Pimple $app)
protected function getOrmDefaults()
{
return array(
'orm.proxies_dir' => __DIR__.'/../../../../../../../../cache/doctrine/proxies',
Expand Down

0 comments on commit f21fd45

Please sign in to comment.