Skip to content

Comments

[12.x] Refactor: Clean up unused $config parameters in ConcurrencyManager #58739

Merged
taylorotwell merged 1 commit intolaravel:12.xfrom
alizadeh7091:ref/unused-param
Feb 10, 2026
Merged

[12.x] Refactor: Clean up unused $config parameters in ConcurrencyManager #58739
taylorotwell merged 1 commit intolaravel:12.xfrom
alizadeh7091:ref/unused-param

Conversation

@alizadeh7091
Copy link
Contributor

This PR removes the unused $config parameters from the createProcessDriver, createForkDriver, and createSyncDriver methods in the ConcurrencyManager class.

These parameters were never used in the method bodies.

Removing them makes the code cleaner and easier to read.

No functionality or backward compatibility is affected because these methods are internal to the ConcurrencyManager.

Before:

public function createProcessDriver(array $config) { ... }

After:

public function createProcessDriver() { ... }

Note:
If future configuration options are added for these drivers, parameters can be reintroduced at that time.

@taylorotwell taylorotwell merged commit ada2958 into laravel:12.x Feb 10, 2026
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants