Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ariaieboy authored and github-actions[bot] committed May 15, 2024
1 parent 940b4f9 commit da294f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ide-helper.stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function currency(string | Closure | null $currency = null, bool $shouldC
}

namespace Filament\Forms\Components {

class TextInput
{
public function currencyMask($thousandSeparator = ',', $decimalSeparator = '.', $precision = 2): self
Expand Down Expand Up @@ -55,4 +55,4 @@ public function currency(string | Closure | null $currency = null, bool $shouldC
return $this;
}
}
}
}
4 changes: 2 additions & 2 deletions src/FilamentCurrencyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
use Akaunting\Money;
use Closure;
use Filament\Forms\Components\TextInput;
use Filament\Infolists\Components\TextEntry;
use Filament\Tables\Columns\Column;
use Filament\Tables\Columns\Summarizers;
use Filament\Tables\Columns\TextColumn;
use Filament\Infolists\Components\TextEntry;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

Expand Down Expand Up @@ -42,7 +42,7 @@ public function bootingPackage(): void
$shouldConvert,
))->format();
};

TextColumn::macro('currency', function (string | Closure | null $currency = null, bool $shouldConvert = false) use ($formatter): TextColumn {
/**
* @var TextColumn $this
Expand Down

0 comments on commit da294f0

Please sign in to comment.