Skip to content

Commit 25628e4

Browse files
committed
Merge pull request #25 from iolloyd/master
remove unneeded passing of Pimple $app
2 parents f3afc8b + f21fd45 commit 25628e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dflydev/Pimple/Provider/DoctrineOrm/DoctrineOrmServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class DoctrineOrmServiceProvider
4242
{
4343
public function register(\Pimple $app)
4444
{
45-
foreach ($this->getOrmDefaults($app) as $key => $value) {
45+
foreach ($this->getOrmDefaults() as $key => $value) {
4646
if (!isset($app[$key])) {
4747
$app[$key] = $value;
4848
}
@@ -410,7 +410,7 @@ public function register(\Pimple $app)
410410
*
411411
* @return array
412412
*/
413-
protected function getOrmDefaults(\Pimple $app)
413+
protected function getOrmDefaults()
414414
{
415415
return array(
416416
'orm.proxies_dir' => __DIR__.'/../../../../../../../../cache/doctrine/proxies',

0 commit comments

Comments
 (0)