minor #23579 [DI] Change "this" to "that" in findAndSortTaggedServices
doc to reduce confusion (simshaun)
This PR was merged into the 3.2 branch.
Discussion
----------
[DI] Change "this" to "that" in `findAndSortTaggedServices` doc to reduce confusion
Continuation of PR #23578 which I royally messed up.....
| Q | A
| ------------- | ---
| Branch? | 3.2
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
| Doc PR | None
I know this is extremely minor, but reading the description of this method, I got confused. Wondering if it's just me.
Where it says:
> The order of additions must be respected for services having the same priority, and knowing that the \SplPriorityQueue class does not respect the FIFO method, we should not use **this** class.
Should it not say "we should not use **that** class"?
Commits
-------
04b7b04b65
Change "this" to "that" to avoid confusion
This commit is contained in:
commit
1f8cc178c1
@ -26,7 +26,7 @@ trait PriorityTaggedServiceTrait
|
|||||||
*
|
*
|
||||||
* The order of additions must be respected for services having the same priority,
|
* The order of additions must be respected for services having the same priority,
|
||||||
* and knowing that the \SplPriorityQueue class does not respect the FIFO method,
|
* and knowing that the \SplPriorityQueue class does not respect the FIFO method,
|
||||||
* we should not use this class.
|
* we should not use that class.
|
||||||
*
|
*
|
||||||
* @see https://bugs.php.net/bug.php?id=53710
|
* @see https://bugs.php.net/bug.php?id=53710
|
||||||
* @see https://bugs.php.net/bug.php?id=60926
|
* @see https://bugs.php.net/bug.php?id=60926
|
||||||
|
Reference in New Issue
Block a user