Skip to content

Commit e18dcf7

Browse files
3x1iogithub-actions[bot]
authored andcommitted
Format Code
1 parent 5c3511c commit e18dcf7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

config/filament-types.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@
3636
* Locals
3737
*
3838
* If you need to use locals for the types you can set it here
39-
*
39+
*
4040
* EG: ['en','ar'] will provide English and Arabic options.
41-
*
41+
*
4242
* Default: NULL, provides English and Arabic options.
4343
*/
44-
45-
'locals' => NULL,
44+
'locals' => null,
4645
];

src/FilamentTypesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class FilamentTypesPlugin implements Plugin
1818
*/
1919
public function locals()
2020
{
21-
return (!is_null(config('filament-types.locals'))) ? config('filament-types.locals') : $this->locals;
21+
return (! is_null(config('filament-types.locals'))) ? config('filament-types.locals') : $this->locals;
2222
}
2323

2424
public function getLocals(): array

0 commit comments

Comments
 (0)