Skip to content

Commit f21fd45

Browse files
committed
remove unneeded passing of Pimple $app
The $app variable is passed needlessly to getOrmDefaults
1 parent 3e5aaad commit f21fd45

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
@@ -38,7 +38,7 @@ class DoctrineOrmServiceProvider
3838
{
3939
public function register(\Pimple $app)
4040
{
41-
foreach ($this->getOrmDefaults($app) as $key => $value) {
41+
foreach ($this->getOrmDefaults() as $key => $value) {
4242
if (!isset($app[$key])) {
4343
$app[$key] = $value;
4444
}
@@ -375,7 +375,7 @@ public function register(\Pimple $app)
375375
*
376376
* @return array
377377
*/
378-
protected function getOrmDefaults(\Pimple $app)
378+
protected function getOrmDefaults()
379379
{
380380
return array(
381381
'orm.proxies_dir' => __DIR__.'/../../../../../../../../cache/doctrine/proxies',

0 commit comments

Comments
 (0)