Initial #1
Annotations
11 errors
|
PHPStan analysis:
src/Interfaces/ArrayViewInterface.php#L13
Interface Smoren\ArrayView\Interfaces\ArrayViewInterface extends generic interface IteratorAggregate but does not specify its types: TKey, TValue
|
PHPStan analysis:
src/Interfaces/ArrayViewInterface.php#L31
Method Smoren\ArrayView\Interfaces\ArrayViewInterface::filter() return type with generic interface Smoren\ArrayView\Interfaces\ArrayViewInterface does not specify its types: T
|
PHPStan analysis:
src/Selectors/IndexListSelector.php#L13
PHPDoc tag @implements contains generic type Smoren\ArrayView\Interfaces\ArraySelectorInterface<mixed> but interface Smoren\ArrayView\Interfaces\ArraySelectorInterface is not generic.
|
PHPStan analysis:
src/Selectors/IndexListSelector.php#L31
Method Smoren\ArrayView\Selectors\IndexListSelector::select() return type with generic class Smoren\ArrayView\Views\ArrayIndexListView does not specify its types: T
|
PHPStan analysis:
src/Selectors/MaskSelector.php#L27
Method Smoren\ArrayView\Selectors\MaskSelector::select() return type with generic class Smoren\ArrayView\Views\ArrayMaskView does not specify its types: T
|
PHPStan analysis:
src/Selectors/SliceSelector.php#L23
Parameter #2 $slice of class Smoren\ArrayView\Views\ArraySliceView constructor expects Smoren\ArrayView\Structs\NormalizedSlice, $this(Smoren\ArrayView\Selectors\SliceSelector) given.
|
PHPStan analysis:
src/Structs/NormalizedSlice.php#L12
Class Smoren\ArrayView\Structs\NormalizedSlice implements generic interface IteratorAggregate but does not specify its types: TKey, TValue
|
PHPStan analysis:
src/Structs/NormalizedSlice.php#L20
Method Smoren\ArrayView\Structs\NormalizedSlice::count() should return int but returns float.
|
PHPStan analysis:
src/Structs/Slice.php#L33
PHPDoc tag @return with type void is incompatible with native type Smoren\ArrayView\Structs\Slice.
|
PHPStan analysis:
src/Structs/Slice.php#L43
Unsafe call to private method Smoren\ArrayView\Structs\Slice::parseSliceString() through static::.
|
Loading