Skip to content

Commit

Permalink
fix: PHPDoc block in Translatable facade
Browse files Browse the repository at this point in the history
Fix fallback method definition that is lacking "void", occasioning code analyzers like PHPStan to fail.
  • Loading branch information
kyryl-bogach authored and freekmurze committed May 14, 2024
1 parent f07f799 commit 8c6c353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Facades/Translatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @see \Spatie\Translatable\Translatable
*
* @method static fallback(?string $fallbackLocale = null, ?bool $fallbackAny = false, $missingKeyCallback = null)
* @method static void fallback(?string $fallbackLocale = null, ?bool $fallbackAny = false, $missingKeyCallback = null)
*/
class Translatable extends Facade
{
Expand Down

0 comments on commit 8c6c353

Please sign in to comment.