Skip to content

Commit

Permalink
Merge pull request #79 from kiwilan/develop
Browse files Browse the repository at this point in the history
v2.5.12
  • Loading branch information
ewilan-riviere authored Jun 1, 2024
2 parents ec97d4b + 5ed4234 commit 00b6f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kiwilan/php-ebook",
"description": "PHP package to read metadata and extract covers from eBooks, comics and audiobooks.",
"version": "2.5.11",
"version": "2.5.12",
"keywords": [
"php",
"ebook",
Expand Down
7 changes: 1 addition & 6 deletions src/Models/MetaTitle.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

/**
* Convert eBook title and metadata to a slug.
*
* @method string getSlug() Get slug of book title with addional metadata, like `lord-of-the-rings-01-fellowship-of-the-ring-j-r-r-tolkien-1954-epub-en`.
* @method string getSlugSimple() Get simple slug of book title, like `the-fellowship-of-the-ring`.
* @method string getSeriesSlug() Get slug of serie title, like `lord-of-the-rings-j-r-r-tolkien-epub-en`.
* @method string getSeriesSlugSimple() Get simple slug of serie title, like `the-lord-of-the-rings`.
*/
class MetaTitle
{
Expand Down Expand Up @@ -417,7 +412,7 @@ private function parse(): static
}

/**
* Get slug of book title with addional metadata, like `lord-of-the-rings-01-fellowship-of-the-ring-j-r-r-tolkien-1954-epub-en`.
* Get slug of book title with addional metadata, like `lord-of-the-rings-001-fellowship-of-the-ring-j-r-r-tolkien-1954-epub-en`.
*
* - Remove determiners, here `The`
* - Add serie title, here `Lord of the Rings`
Expand Down

0 comments on commit 00b6f9b

Please sign in to comment.