HSB Colorspace skip phpstan colorspace variable never read
This commit is contained in:
@@ -239,7 +239,7 @@ print "PREPARE INSERT PREVIOUS INSERTED: "
|
|||||||
|
|
||||||
print "PREPARE CURSOR RETURN:<br>";
|
print "PREPARE CURSOR RETURN:<br>";
|
||||||
foreach (['pk_name', 'count', 'query', 'returning_id'] as $key) {
|
foreach (['pk_name', 'count', 'query', 'returning_id'] as $key) {
|
||||||
print "KEY: " . $key . ': ' . $db->dbGetPrepareCursorValue('ins_test_foo', $key) . "<br>";
|
print "KEY: " . $key . ': ' . Support::prAr($db->dbGetPrepareCursorValue('ins_test_foo', $key)) . "<br>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = <<<SQL
|
$query = <<<SQL
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class HSB implements Interface\CoordinatesInterface
|
|||||||
private float $B = 0.0;
|
private float $B = 0.0;
|
||||||
|
|
||||||
/** @var string color space: either ok or cie */
|
/** @var string color space: either ok or cie */
|
||||||
private string $colorspace = '';
|
private string $colorspace = ''; /** @phpstan-ignore-line */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* HSB (HSV) color coordinates
|
* HSB (HSV) color coordinates
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class HSL implements Interface\CoordinatesInterface
|
|||||||
/** @var float lightness (luminance) */
|
/** @var float lightness (luminance) */
|
||||||
private float $L = 0.0;
|
private float $L = 0.0;
|
||||||
|
|
||||||
/** @var string color space: either ok or cie */
|
/** @var string color space: either sRGB */
|
||||||
private string $colorspace = '';
|
private string $colorspace = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user