This commit is contained in:
Jeremy Benoist
2022-12-13 10:26:51 +01:00
parent 498b205c53
commit de5b138a59
9 changed files with 10 additions and 10 deletions

View File

@ -19,7 +19,7 @@ use Symfony\Component\HttpFoundation\File\MimeType\MimeTypeExtensionGuesser;
class DownloadImages
{
const REGENERATE_PICTURES_QUALITY = 80;
public const REGENERATE_PICTURES_QUALITY = 80;
private $client;
private $baseFolder;

View File

@ -47,7 +47,7 @@ class TagsAssigner
$label = trim(mb_convert_case($label, \MB_CASE_LOWER));
// avoid empty tag
if (0 === \strlen($label)) {
if ('' === $label) {
continue;
}