mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Color: make mix() first parameter mandatory, closes #3204
This commit is contained in:
@ -769,6 +769,7 @@ This version features substantial changes to the network system, improving coher
|
||||
- `Utils::$online`
|
||||
- `Utils::$os`
|
||||
- The following API methods have signature changes:
|
||||
- `Color::mix()` now requires the first parameter. Previously, it was possible to pass zero arguments, which would raise an `ArgumentCountError` (not static analysis friendly).
|
||||
- `Internet::simpleCurl()` now requires a `Closure` for its `onSuccess` parameter instead of `callable`.
|
||||
- The following API methods have been removed:
|
||||
- `Color->setA()`
|
||||
|
Reference in New Issue
Block a user