mirror of
https://github.com/getgrav/grav.git
synced 2026-02-21 22:18:03 +01:00
changed getGrav() to static
This commit is contained in:
@@ -11,7 +11,7 @@ trait GravTrait
|
||||
/**
|
||||
* @return Grav
|
||||
*/
|
||||
public function getGrav()
|
||||
public static function getGrav()
|
||||
{
|
||||
if (!self::$grav) {
|
||||
self::$grav = Grav::instance();
|
||||
|
||||
Reference in New Issue
Block a user