Skip to content

feat: Add service override events #114

feat: Add service override events

feat: Add service override events #114

Triggered via pull request December 16, 2024 10:52
Status Failure
Total duration 43s
Artifacts

static-analysis.yml

on: pull_request
Source Code
31s
Source Code
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Source Code: src/Concerns/FindsIdentityInRouteParameter.php (in context of class Sprout/Http/Resolvers/PathIdentityResolver)#L278
PHPDoc tag @param for parameter $tenant with type (TenantClass of Sprout\Contracts\Tenant)|null is not subtype of native type Sprout\Contracts\Tenant.
Source Code: src/Concerns/FindsIdentityInRouteParameter.php (in context of class Sprout/Http/Resolvers/PathIdentityResolver)#L280
Strict comparison using === between Sprout\Contracts\Tenant and null will always evaluate to false.
Source Code: src/Concerns/FindsIdentityInRouteParameter.php (in context of class Sprout/Http/Resolvers/SubdomainIdentityResolver)#L278
PHPDoc tag @param for parameter $tenant with type (TenantClass of Sprout\Contracts\Tenant)|null is not subtype of native type Sprout\Contracts\Tenant.
Source Code: src/Concerns/FindsIdentityInRouteParameter.php (in context of class Sprout/Http/Resolvers/SubdomainIdentityResolver)#L280
Strict comparison using === between Sprout\Contracts\Tenant and null will always evaluate to false.
Source Code: src/Concerns/OverridesCookieSettings.php (in context of class Sprout/Overrides/CookieOverride)#L42
Parameter #1 $string of function ltrim expects string, string|null given.
Source Code: src/Concerns/OverridesCookieSettings.php (in context of class Sprout/Overrides/SessionOverride)#L42
Parameter #1 $string of function ltrim expects string, string|null given.
Source Code
Process completed with exit code 1.