Do some code cleanup courtesy of Mago.

This commit is contained in:
James Cole
2026-01-13 05:13:01 +01:00
parent fe9ae9c810
commit 1d41fc9845
32 changed files with 80 additions and 80 deletions

View File

@@ -52,6 +52,6 @@ class Configuration extends Model
*/
protected function data(): Attribute
{
return Attribute::make(get: fn ($value): mixed => json_decode((string)$value), set: fn ($value): array => ['data' => json_encode($value)]);
return Attribute::make(get: static fn ($value): mixed => json_decode((string)$value), set: static fn ($value): array => ['data' => json_encode($value)]);
}
}