From 05bea0bf509b1350070573f482e2ffac8cb0d7fa Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Tue, 25 Nov 2014 17:08:12 -0700 Subject: [PATCH] PSR fixes --- system/src/Grav/Common/Plugins.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/system/src/Grav/Common/Plugins.php b/system/src/Grav/Common/Plugins.php index d7a8f6ff5..76164b949 100644 --- a/system/src/Grav/Common/Plugins.php +++ b/system/src/Grav/Common/Plugins.php @@ -19,7 +19,8 @@ class Plugins extends Iterator { protected $grav; - public function __construct(Grav $grav) { + public function __construct(Grav $grav) + { $this->grav = $grav; } @@ -78,7 +79,7 @@ class Plugins extends Iterator * * @return array */ - static public function all() + public static function all() { $list = array(); $iterator = new \DirectoryIterator('plugins://'); @@ -98,7 +99,7 @@ class Plugins extends Iterator return $list; } - static public function get($name) + public static function get($name) { $blueprints = new Blueprints("plugins://{$name}"); $blueprint = $blueprints->get('blueprints'); @@ -117,4 +118,5 @@ class Plugins extends Iterator return $obj; } + }