feat(router): added support for query (GET) parameters #179
Annotations
10 errors
src/Handler/Router/Router.php#L181
src/Handler/Router/Router.php:181:25: MixedArgumentTypeCoercion: Argument 3 of Buggregator\Trap\Handler\Router\Router::resolveArguments expects array<non-empty-string, mixed>, but parent type array<array-key, mixed|string> provided (see https://psalm.dev/194)
|
src/Handler/Router/Router.php#L281
src/Handler/Router/Router.php:281:21: MixedAssignment: Unable to determine the type of this assignment (see https://psalm.dev/032)
|
src/Handler/Router/Router.php#L304
src/Handler/Router/Router.php:304:9: MixedAssignment: Unable to determine the type that $queryName is being assigned to (see https://psalm.dev/032)
|
src/Handler/Router/Router.php#L304
src/Handler/Router/Router.php:304:22: UndefinedVariable: Cannot find referenced variable $queryParam (see https://psalm.dev/024)
|
src/Handler/Router/Router.php#L304
src/Handler/Router/Router.php:304:22: MixedPropertyFetch: Cannot fetch property on mixed var $queryParam (see https://psalm.dev/034)
|
src/Handler/Router/Router.php#L305
src/Handler/Router/Router.php:305:20: MixedArrayTypeCoercion: Coercion from array offset type 'mixed|non-empty-string' to the expected type 'array-key' (see https://psalm.dev/195)
|
src/Handler/Router/Router.php#L305
src/Handler/Router/Router.php:305:20: MixedArrayOffset: Cannot access value on variable $params using mixed offset (see https://psalm.dev/031)
|
src/Handler/Router/Router.php#L308
src/Handler/Router/Router.php:308:17: MixedArgument: Argument 2 of sprintf cannot be mixed|non-empty-string, expecting float|int|object{__tostring()}|string (see https://psalm.dev/030)
|
src/Handler/Router/Router.php#L314
src/Handler/Router/Router.php:314:9: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
|
src/Handler/Router/Router.php#L320
src/Handler/Router/Router.php:320:34: DocblockTypeContradiction: ReflectionNamedType|ReflectionType does not contain null (see https://psalm.dev/155)
|
The logs for this run have expired and are no longer available.
Loading