mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
T357: Put the string cast in the right place.
This commit is contained in:
parent
f4f97acd9f
commit
5f69cdda5b
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class ImportMLPMA extends Command {
|
|||
if ($taggedYear !== null && $modifiedDate->year === $taggedYear) {
|
||||
$releasedAt = $modifiedDate;
|
||||
|
||||
} else if ($taggedYear !== null && (string) Str::length($taggedYear) !== 4) {
|
||||
} else if ($taggedYear !== null && Str::length((string) $taggedYear) !== 4) {
|
||||
$this->error('This track\'s tagged year makes no sense! Using the track\'s last modified date...');
|
||||
$releasedAt = $modifiedDate;
|
||||
|
||||
|
|
Loading…
Reference in a new issue