Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io authored and github-actions[bot] committed Dec 14, 2024
1 parent 5c3511c commit e18dcf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions config/filament-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@
* Locals
*
* If you need to use locals for the types you can set it here
*
*
* EG: ['en','ar'] will provide English and Arabic options.
*
*
* Default: NULL, provides English and Arabic options.
*/

'locals' => NULL,
'locals' => null,
];
2 changes: 1 addition & 1 deletion src/FilamentTypesPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class FilamentTypesPlugin implements Plugin
*/
public function locals()
{
return (!is_null(config('filament-types.locals'))) ? config('filament-types.locals') : $this->locals;
return (! is_null(config('filament-types.locals'))) ? config('filament-types.locals') : $this->locals;
}

public function getLocals(): array
Expand Down

0 comments on commit e18dcf7

Please sign in to comment.