mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Code cleanup.
This commit is contained in:
@@ -99,7 +99,7 @@ class VersionCheckEventHandler
|
||||
}
|
||||
$string = 'no result: ' . $check;
|
||||
if ($check === -2) {
|
||||
$string = strval(trans('firefly.update_check_error'));
|
||||
$string = (string)trans('firefly.update_check_error');
|
||||
}
|
||||
if ($check === -1) {
|
||||
// there is a new FF version!
|
||||
|
Reference in New Issue
Block a user