Slice::normalize() method refactored. #42
Annotations
8 errors and 1 warning
PHPStan analysis:
src/Structs/Slice.php#L186
Parameter #1 $index of static method Smoren\ArrayView\Util::normalizeIndex() expects int, float given.
|
PHPStan analysis:
src/Structs/Slice.php#L187
Parameter #1 $index of static method Smoren\ArrayView\Util::normalizeIndex() expects int, float given.
|
PHPStan analysis:
src/Structs/Slice.php#L200
Parameter #3 $step of class Smoren\ArrayView\Structs\NormalizedSlice constructor expects int|null, float given.
|
PHPStan analysis:
src/Structs/Slice.php#L210
Parameter #1 $index of static method Smoren\ArrayView\Util::normalizeIndex() expects int, float given.
|
PHPStan analysis:
src/Structs/Slice.php#L213
Parameter #1 $index of static method Smoren\ArrayView\Util::normalizeIndex() expects int, float given.
|
PHPStan analysis:
src/Structs/Slice.php#L221
Parameter #1 $x of method Smoren\ArrayView\Structs\Slice::squeezeInBounds() expects int, float|int given.
|
PHPStan analysis:
src/Structs/Slice.php#L227
Parameter #3 $step of class Smoren\ArrayView\Structs\NormalizedSlice constructor expects int|null, float given.
|
PHPStan analysis
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading