mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 20:22:07 +00:00
Fix tests.
This commit is contained in:
@@ -85,10 +85,10 @@ class Category extends Model
|
||||
*
|
||||
* @param $value
|
||||
*
|
||||
* @return string
|
||||
* @return string|null
|
||||
* @throws \Illuminate\Contracts\Encryption\DecryptException
|
||||
*/
|
||||
public function getNameAttribute($value): string
|
||||
public function getNameAttribute($value): ?string
|
||||
{
|
||||
if ($this->encrypted) {
|
||||
return Crypt::decrypt($value);
|
||||
|
Reference in New Issue
Block a user