Skip to content

Commit

Permalink
pint
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Jun 29, 2024
1 parent 65c1c1e commit 332e708
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/Pages/Actions/LocaleSwitcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@
/**
* @deprecated Use `\Filament\Actions\LocaleSwitcher` instead.
*/
class LocaleSwitcher extends BaseLocaleSwitcher {}
class LocaleSwitcher extends BaseLocaleSwitcher
{
//
}
5 changes: 4 additions & 1 deletion src/SpatieLaravelTranslatableContentDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@

class SpatieLaravelTranslatableContentDriver implements TranslatableContentDriver
{
public function __construct(protected string $activeLocale) {}
public function __construct(protected string $activeLocale)
{
//
}

public function isAttributeTranslatable(string $model, string $attribute): bool
{
Expand Down
5 changes: 4 additions & 1 deletion src/SpatieLaravelTranslatablePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ class SpatieLaravelTranslatablePlugin implements Plugin

protected ?Closure $getLocaleLabelUsing = null;

final public function __construct() {}
final public function __construct()
{
//
}

public static function make(): static
{
Expand Down

0 comments on commit 332e708

Please sign in to comment.