Commit 80b0826
committed
This PR was merged into the 6.4 branch.
Discussion
----------
[Scheduler] Fix optional `$count` variable in `testGetNextRunDates`
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes (in tests)
| New feature? | no
| Deprecations? | no
| Issues | N/A
| License | MIT
Fixes a weird side effect of the optional `$count` variable in `testGetNextRunDates`, because it uses the Null Coalescing Operator it was always expecting 0 iterations if not passing a value from the provider.
It doesn't need to be optional because it's always passed from the provider so we could just make it a required variable.
Commits
-------
d8fa076 [Scheduler] Fix optional count variable in testGetNextRunDates
File tree
1 file changed
+2
-2
lines changed- src/Symfony/Component/Scheduler/Tests/Trigger
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments