Skip to content

Commit

Permalink
Docs: Remove PHPDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 27, 2022
1 parent 57f7c6a commit ef2f446
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/Hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +22,16 @@ class Hyde
use FileHelpers;
use AssetManager;

/**
* Return the Composer Package Version.
*
* @return string
*/
public static function version(): string
{
return InstalledVersions::getPrettyVersion('hyde/framework') ?: 'unreleased';
}

/**
* Create a title from a kebab-case slug.
*
* @param string $slug
* @return string $title
*/
public static function titleFromSlug(string $slug): string
{
return Str::title(str_replace('-', ' ', ($slug)));
}

/**
* 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
{
$collection = new Collection();
Expand Down

0 comments on commit ef2f446

Please sign in to comment.