You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$defaultVersionId = $conn->fetchOne('SELECT id FROM package_version WHERE package_id = :id ORDER BY defaultBranch DESC, releasedAt DESC LIMIT 1', ['id' => $id]);
\PHPStan\dumpType($defaultVersionId);
Dumped type: numeric-string
From https://github.com/composer/packagist/blob/main/src/Command/PopulateDependentsSuggestersCommand.php#L71
fetchOne returns false if there is no result though.
The text was updated successfully, but these errors were encountered: