lib/dependabot/composer/update_checker/requirements_updater.rb in dependabot-composer-0.262.0 vs lib/dependabot/composer/update_checker/requirements_updater.rb in dependabot-composer-0.263.0

- old
+ new

@@ -46,10 +46,10 @@ @latest_resolvable_version = version_class.new(latest_resolvable_version) end def updated_requirements - return requirements if update_strategy == RequirementsUpdateStrategy::LockfileOnly + return requirements if update_strategy.lockfile_only? return requirements unless latest_resolvable_version requirements.map { |req| updated_requirement(req) } end