Skip to content

Conversation

amirhshokri
Copy link
Contributor

@amirhshokri amirhshokri commented Aug 20, 2025

The spliceIntoPosition method in src/Illuminate/Console/Scheduling/ManagesFrequencies.php can accept both strings and integers as value.

Example:

public function quarterly()
{
return $this->spliceIntoPosition(1, 0)
->spliceIntoPosition(2, 0)
->spliceIntoPosition(3, 1)
->spliceIntoPosition(4, '1-12/3');
}

@taylorotwell taylorotwell merged commit 7d7fe23 into laravel:12.x Aug 21, 2025
62 checks passed
@amirhshokri amirhshokri deleted the 12.x-fix-spliceIntoPosition-docblock branch August 21, 2025 14:40
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