File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
arma-reforger-workshop/src/Filament/Server/Pages
pastefox-share/src/Filament/Components/Actions Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ jobs:
1818 - name : Setup PHP
1919 uses : shivammathur/setup-php@v2
2020 with :
21- php-version : 8.4
21+ php-version : 8.5
2222 tools : composer:v2
2323 coverage : none
2424
2525 - name : Init composer
2626 run : composer init --no-interaction
2727
2828 - name : Install Laravel Pint
29- run : composer require "laravel/pint:^1.15.3 "
29+ run : composer require "laravel/pint:^1.28 "
3030
3131 - name : Run Pint
3232 run : vendor/bin/pint --test
Original file line number Diff line number Diff line change 1919use Filament \Tables \Contracts \HasTable ;
2020use Filament \Tables \Table ;
2121use Illuminate \Pagination \LengthAwarePaginator ;
22+ use Illuminate \Support \Str ;
2223use spolny \ArmaReforgerWorkshop \Facades \ArmaReforgerWorkshop ;
2324
2425class BrowseWorkshopPage extends Page implements HasTable
@@ -115,7 +116,7 @@ public function table(Table $table): Table
115116 ->label (trans ('arma-reforger-workshop::arma-reforger-workshop.labels.mod ' ))
116117 ->weight ('bold ' )
117118 ->searchable ()
118- ->description (fn (array $ record ) => \ Illuminate \ Support \ Str::limit ($ record ['summary ' ] ?? '' , 80 )),
119+ ->description (fn (array $ record ) => Str::limit ($ record ['summary ' ] ?? '' , 80 )),
119120 TextColumn::make ('author ' )
120121 ->label (trans ('arma-reforger-workshop::arma-reforger-workshop.labels.author ' ))
121122 ->icon ('tabler-user ' )
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ protected function getActiveCustomDomain(?string $apiKey): ?string
139139 }
140140 }
141141 }
142- } catch (\ Exception $ e ) {
142+ } catch (Exception $ e ) {
143143 // Silently fail, fall back to default
144144 }
145145
@@ -162,7 +162,7 @@ protected function isApiKeyValid(?string $apiKey): bool
162162 ->json ();
163163
164164 return $ response ['success ' ] ?? false ;
165- } catch (\ Exception $ e ) {
165+ } catch (Exception $ e ) {
166166 return false ;
167167 }
168168 }
You can’t perform that action at this time.
0 commit comments