mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 06:01:21 +00:00
chore: fix various qodana issues
This commit is contained in:
@@ -80,11 +80,10 @@ class AccountMeta extends Model
|
||||
* @param mixed $value
|
||||
*
|
||||
* @return mixed
|
||||
* @throws JsonException
|
||||
*/
|
||||
public function getDataAttribute($value)
|
||||
public function getDataAttribute($value): string
|
||||
{
|
||||
return json_decode($value, true, 512, JSON_THROW_ON_ERROR);
|
||||
return (string)json_decode($value, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user