From 2e7f2e898360d3db1092ab5a864eb4cba43c176a Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Tue, 14 Mar 2023 10:28:00 +0100 Subject: [PATCH 1/2] Revert "Add default values to method annotations" This reverts commit 9fa983c6bdb847ae8bc4bf11ad244ca8125295a6. --- packages/framework/src/Hyde.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/framework/src/Hyde.php b/packages/framework/src/Hyde.php index b1a5c8377de..853f5f21c52 100644 --- a/packages/framework/src/Hyde.php +++ b/packages/framework/src/Hyde.php @@ -25,7 +25,7 @@ * @copyright 2022 Caen De Silva * @license MIT License * - * @method static string path(string $path = '') $basePath + * @method static string path(string $path = '') * @method static string vendorPath(string $path = '', string $package = 'framework') * @method static string pathToAbsolute(string $path) * @method static string pathToRelative(string $path) @@ -43,11 +43,11 @@ * @method static string trimSlashes(string $string) * @method static HtmlString markdown(string $text, bool $stripIndentation = false) * @method static string currentPage() - * @method static string getBasePath() $basePath - * @method static string getSourceRoot() '' - * @method static string getOutputDirectory() '_site' - * @method static string getMediaDirectory() '_media' - * @method static string getMediaOutputDirectory() 'media' + * @method static string getBasePath() + * @method static string getSourceRoot() + * @method static string getOutputDirectory() + * @method static string getMediaDirectory() + * @method static string getMediaOutputDirectory() * @method static Features features() * @method static FileCollection files() * @method static PageCollection pages() From 08582d72eecf4aba65cfabada8233c6c41f656ca Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Tue, 14 Mar 2023 10:28:14 +0100 Subject: [PATCH 2/2] Update RELEASE_NOTES.md --- RELEASE_NOTES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e914fcc958f..0ae685afbed 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -20,6 +20,7 @@ This serves two purposes: ### Removed - Removed IDE helpers for removed global variables from the IDE helper file. +- Removed default values from Hyde facade method annotations ### Fixed - for any bug fixes.