Fixed some inspection issues.

This commit is contained in:
Jan Böhmer 2020-08-21 22:43:37 +02:00
parent 6caf605fe2
commit e01b06fb85
80 changed files with 173 additions and 218 deletions

View file

@ -44,7 +44,7 @@ final class PartLotProvider implements PlaceholderProviderInterface
{
if ($label_target instanceof PartLot) {
if ('[[LOT_ID]]' === $placeholder) {
return $label_target->getID() ?? 'unknown';
return (string) ($label_target->getID() ?? 'unknown');
}
if ('[[LOT_NAME]]' === $placeholder) {