Rückgaben nach Hinweisen von *PhpStan* angepasst.
This commit is contained in:
@@ -8,7 +8,7 @@ use InvalidArgumentException;
|
||||
abstract class AbstractColorModel
|
||||
{
|
||||
|
||||
protected function checkValue(float $value)
|
||||
protected function checkValue(float $value): void
|
||||
{
|
||||
if ($value > 1.0) {
|
||||
throw new InvalidArgumentException('Ein Wert größer als 1 ist nicht definierbar.');
|
||||
|
||||
Reference in New Issue
Block a user