From f9fcb1778e63a31a303a230f7354f754620cfe9f Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 27 Apr 2022 19:46:04 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Hyde.php | 3 ++- src/Services/Internal/AssetManager.php | 2 +- src/Services/Internal/FileHelpers.php | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Hyde.php b/src/Hyde.php index 60d45867..7bd6ae00 100644 --- a/src/Hyde.php +++ b/src/Hyde.php @@ -11,10 +11,10 @@ /** * General interface for Hyde services. * - * @package Hyde\Framework * @author Caen De Silva * @copyright 2022 Caen De Silva * @license MIT License + * * @link https://hydephp.github.io/ */ class Hyde @@ -47,6 +47,7 @@ public static function titleFromSlug(string $slug): string * Get a Laravel Collection of all Posts as MarkdownPost objects. * * @return \Illuminate\Support\Collection + * * @throws \Exception if the posts' directory does not exist */ public static function getLatestPosts(): Collection diff --git a/src/Services/Internal/AssetManager.php b/src/Services/Internal/AssetManager.php index 78c1f774..90d7b7ac 100644 --- a/src/Services/Internal/AssetManager.php +++ b/src/Services/Internal/AssetManager.php @@ -32,4 +32,4 @@ public static function scripts(): string { return 'https://cdn.jsdelivr.net/gh/hydephp/hydefront@v1.3.1/dist/hyde.js'; } -} \ No newline at end of file +} diff --git a/src/Services/Internal/FileHelpers.php b/src/Services/Internal/FileHelpers.php index 915970f8..4e6e1da3 100644 --- a/src/Services/Internal/FileHelpers.php +++ b/src/Services/Internal/FileHelpers.php @@ -7,7 +7,6 @@ */ trait FileHelpers { - /** * Get the subdirectory compiled documentation files are stored in. * @@ -123,4 +122,4 @@ public static function copy(string $from, string $to, bool $force = false): bool return copy($from, $to); } -} \ No newline at end of file +}