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:
@@ -122,7 +122,7 @@ abstract class Controller extends BaseController
|
||||
);
|
||||
}
|
||||
|
||||
protected function auditLogAttachmentInfo(?array $files): void
|
||||
final protected function auditLogAttachmentInfo(?array $files): void
|
||||
{
|
||||
if (null === $files) {
|
||||
Log::channel('audit')->info('No files found');
|
||||
@@ -135,7 +135,7 @@ abstract class Controller extends BaseController
|
||||
* @var UploadedFile $file
|
||||
*/
|
||||
foreach ($files as $index => $file) {
|
||||
Log::channel('audit')->info(sprintf('File [%d/%d] upload attachment "%s", content is: "%s".', $index + 1, count($files), $file->getClientOriginalName(),base64_encode($file->getContent())));
|
||||
Log::channel('audit')->info(sprintf('File [%d/%d] upload attachment "%s", content is: "%s".', $index + 1, count($files), $file->getClientOriginalName(), base64_encode($file->getContent())));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user