diff --git a/src/Renderer/Language.php b/src/Renderer/Language.php index 223c6373d..92c8cf890 100644 --- a/src/Renderer/Language.php +++ b/src/Renderer/Language.php @@ -13,7 +13,6 @@ namespace Cecil\Renderer; -use Cecil\Config; use Cecil\Exception\RuntimeException; /** @@ -27,7 +26,7 @@ class Language /** @var string Current language. */ protected $language; - public function __construct(Config $config, string $language = null) + public function __construct(\Cecil\Config $config, string $language = null) { $this->config = $config; $this->language = $language; diff --git a/src/Renderer/Layout.php b/src/Renderer/Layout.php index 00b3ebe98..983633dfd 100644 --- a/src/Renderer/Layout.php +++ b/src/Renderer/Layout.php @@ -15,7 +15,6 @@ use Cecil\Collection\Page\Page as CollectionPage; use Cecil\Collection\Page\Type as PageType; -use Cecil\Config; use Cecil\Exception\RuntimeException; use Cecil\Util; @@ -31,7 +30,7 @@ class Layout * * @throws RuntimeException */ - public static function finder(CollectionPage $page, string $format, Config $config): array + public static function finder(CollectionPage $page, string $format, \Cecil\Config $config): array { $layout = 'unknown'; @@ -77,7 +76,7 @@ public static function finder(CollectionPage $page, string $format, Config $conf * * @see finder() */ - protected static function fallback(CollectionPage $page, string $format, Config $config): array + protected static function fallback(CollectionPage $page, string $format, \Cecil\Config $config): array { $ext = self::EXT; diff --git a/src/Renderer/Page.php b/src/Renderer/Page.php index f21f13998..efee7d80a 100644 --- a/src/Renderer/Page.php +++ b/src/Renderer/Page.php @@ -14,7 +14,6 @@ namespace Cecil\Renderer; use Cecil\Collection\Page\Page as PageItem; -use Cecil\Config; /** * Class Renderer\Page. @@ -24,7 +23,7 @@ class Page /** @var \Cecil\Config */ protected $config; - public function __construct(Config $config) + public function __construct(\Cecil\Config $config) { $this->config = $config; }