fix(deps): update dependency friendsofphp/php-cs-fixer to <3.23.1 (stable) (#2656)

* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.23.1

* style: format files using php-cs-fixer

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
renovate[bot] 2023-08-15 18:28:18 +02:00 committed by GitHub
parent a5cc52e9a9
commit ab16cb47c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 12 additions and 5 deletions

View file

@ -401,6 +401,7 @@ class Application_Service_ShowFormService
Logging::error('Failed to read image: ' . $path);
$imageData = null;
}
// return the data URI - data:{mime};base64,{data}
return ($imageData === null || $imageData === '') ?
'' : 'data: ' . mime_content_type($path) . ';base64,' . $imageData;