mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Reformat various code.
This commit is contained in:
@@ -111,7 +111,7 @@ class Attachment extends Model
|
||||
public static function routeBinder(string $value): Attachment
|
||||
{
|
||||
if (auth()->check()) {
|
||||
$attachmentId = (int)$value;
|
||||
$attachmentId = (int) $value;
|
||||
/** @var User $user */
|
||||
$user = auth()->user();
|
||||
/** @var Attachment $attachment */
|
||||
@@ -143,7 +143,7 @@ class Attachment extends Model
|
||||
*/
|
||||
public function fileName(): string
|
||||
{
|
||||
return sprintf('at-%s.data', (string)$this->id);
|
||||
return sprintf('at-%s.data', (string) $this->id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user