Skip to content

Commit

Permalink
Remove redundant variable 🧹
Browse files Browse the repository at this point in the history
  • Loading branch information
uzibhalepu authored and michael-rubel committed Nov 8, 2022
1 parent 837cd8f commit 2988242
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Git/PickLastVersionFromCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ public function assert(Version $version): bool
}
});

$versionsSortedDescending = $stableVersions->sortedDescending();

return $versionsSortedDescending->first();
return $stableVersions->sortedDescending()->first();
}
}

0 comments on commit 2988242

Please sign in to comment.