Module class getConfig() method does not need to be static
authorEvan Coury <me@evancoury.com>
Thu, 13 Oct 2011 20:18:47 +0000 (13:18 -0700)
committerEvan Coury <me@evancoury.com>
Thu, 13 Oct 2011 20:18:47 +0000 (13:18 -0700)
modules/Application/Module.php

index cfcc333..bb8713e 100644 (file)
@@ -25,7 +25,7 @@ class Module
         require __DIR__ . '/autoload_register.php';
     }
 
-    public static function getConfig()
+    public function getConfig()
     {
         return new Config(include __DIR__ . '/configs/module.config.php');
     }