Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #173

Merged
merged 1 commit into from
Apr 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
/**
* General interface for Hyde services.
*
* @package Hyde\Framework
* @author Caen De Silva <[email protected]>
* @copyright 2022 Caen De Silva
* @license MIT License
*
* @link https://hydephp.github.io/
*/
class Hyde
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Services/Internal/AssetManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ public static function scripts(): string
{
return 'https://cdn.jsdelivr.net/gh/hydephp/[email protected]/dist/hyde.js';
}
}
}
3 changes: 1 addition & 2 deletions src/Services/Internal/FileHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
trait FileHelpers
{

/**
* Get the subdirectory compiled documentation files are stored in.
*
Expand Down Expand Up @@ -123,4 +122,4 @@ public static function copy(string $from, string $to, bool $force = false): bool

return copy($from, $to);
}
}
}