Skip to content

Commit

Permalink
Make StoryblokIdSlugMapper mock-able.
Browse files Browse the repository at this point in the history
  • Loading branch information
apfelbox committed Jun 26, 2024
1 parent 7053082 commit 90f9a0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
3.13.1
======

* (improvement) Make `StoryblokIdSlugMapper` mock-able.


3.13.0
======

Expand Down
5 changes: 4 additions & 1 deletion src/Api/Transformer/StoryblokIdSlugMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
use Symfony\Contracts\Service\ResetInterface;
use Torr\Storyblok\Api\ContentApi;

final class StoryblokIdSlugMapper implements ResetInterface
/**
* @final
*/
class StoryblokIdSlugMapper implements ResetInterface
{
/** @var array<string|int, string>|null */
private ?array $map = null;
Expand Down

0 comments on commit 90f9a0f

Please sign in to comment.