Fix missing data do warning #53
Annotations
10 errors
PossiblyUndefinedArrayOffset:
src/Consumer/ConsumerFactory.php#L61
src/Consumer/ConsumerFactory.php:61:20: PossiblyUndefinedArrayOffset: Possibly undefined array key $consumerData['qos'] on array{callback: callable, qos?: ArrayAccess|array{prefetchSize: mixed, ...<array-key, mixed>}|mixed, ...<string, mixed>} (see https://psalm.dev/167)
|
PossiblyNullReference:
src/Consumer/ConsumerFactory.php#L61
src/Consumer/ConsumerFactory.php:61:20: PossiblyNullReference: Cannot call method offsetGet on possibly null value (see https://psalm.dev/083)
|
PossiblyNullArrayAccess:
src/Consumer/ConsumerFactory.php#L61
src/Consumer/ConsumerFactory.php:61:20: PossiblyNullArrayAccess: Cannot access array value on possibly null variable $consumerData['qos'] of type ArrayAccess|array{prefetchSize: mixed, ...<array-key, mixed>}|mixed|null (see https://psalm.dev/079)
|
PossiblyUndefinedArrayOffset:
src/Consumer/ConsumerFactory.php#L64
src/Consumer/ConsumerFactory.php:64:8: PossiblyUndefinedArrayOffset: Possibly undefined array key $consumerData['qos'] on array{callback: callable, qos?: ArrayAccess|array{prefetchSize: mixed, ...<array-key, mixed>}|mixed, ...<string, mixed>} (see https://psalm.dev/167)
|
PossiblyNullReference:
src/Consumer/ConsumerFactory.php#L64
src/Consumer/ConsumerFactory.php:64:8: PossiblyNullReference: Cannot call method offsetGet on possibly null value (see https://psalm.dev/083)
|
PossiblyNullArrayAccess:
src/Consumer/ConsumerFactory.php#L64
src/Consumer/ConsumerFactory.php:64:8: PossiblyNullArrayAccess: Cannot access array value on possibly null variable $consumerData['qos'] of type ArrayAccess|array{prefetchSize: mixed, ...<array-key, mixed>}|mixed|null (see https://psalm.dev/079)
|
PossiblyUndefinedArrayOffset:
src/Consumer/ConsumerFactory.php#L65
src/Consumer/ConsumerFactory.php:65:21: PossiblyUndefinedArrayOffset: Possibly undefined array key $consumerData['qos'] on array{callback: callable, qos?: ArrayAccess|array{prefetchSize: mixed, ...<array-key, mixed>}|mixed, ...<string, mixed>} (see https://psalm.dev/167)
|
PossiblyNullReference:
src/Consumer/ConsumerFactory.php#L65
src/Consumer/ConsumerFactory.php:65:21: PossiblyNullReference: Cannot call method offsetGet on possibly null value (see https://psalm.dev/083)
|
PossiblyNullArrayAccess:
src/Consumer/ConsumerFactory.php#L65
src/Consumer/ConsumerFactory.php:65:21: PossiblyNullArrayAccess: Cannot access array value on possibly null variable $consumerData['qos'] of type ArrayAccess|array{prefetchSize: mixed, ...<array-key, mixed>}|mixed|null (see https://psalm.dev/079)
|
Psalm
Process completed with exit code 2.
|