updated core to 1.7.15

This commit is contained in:
2021-05-27 18:17:50 +02:00
parent dc1fdf21c9
commit 19ecb285ab
552 changed files with 80743 additions and 16675 deletions

View File

@@ -1,8 +1,9 @@
<?php
/**
* @package Grav.Common.GPM
* @package Grav\Common\GPM
*
* @copyright Copyright (C) 2015 - 2018 Trilby Media, LLC. All rights reserved.
* @copyright Copyright (c) 2015 - 2021 Trilby Media, LLC. All rights reserved.
* @license MIT License; see LICENSE file for details.
*/
@@ -10,11 +11,13 @@ namespace Grav\Common\GPM\Local;
use Grav\Common\Grav;
/**
* Class Themes
* @package Grav\Common\GPM\Local
*/
class Themes extends AbstractPackageCollection
{
/**
* @var string
*/
/** @var string */
protected $type = 'themes';
/**
@@ -22,6 +25,9 @@ class Themes extends AbstractPackageCollection
*/
public function __construct()
{
parent::__construct(Grav::instance()['themes']->all());
/** @var \Grav\Common\Themes $themes */
$themes = Grav::instance()['themes'];
parent::__construct($themes->all());
}
}