mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 14:37:59 +01:00
Merge rPF5f69cdda5b2c: T357: Put the string cast in the right place.
This commit is contained in:
parent
616b6e9ccf
commit
5e4875b9ad
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class ImportMLPMA extends Command
|
|||
|
||||
if ($taggedYear !== null && $modifiedDate->year === $taggedYear) {
|
||||
$releasedAt = $modifiedDate;
|
||||
} elseif ($taggedYear !== null && (string)Str::length($taggedYear) !== 4) {
|
||||
} elseif ($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;
|
||||
} elseif ($taggedYear !== null && $modifiedDate->year !== $taggedYear) {
|
||||
|
|
Loading…
Reference in a new issue