Skip to content

Make TimeZoneRegion::utc() return a TimeZoneRegion not an TimeZoneOffset #283

Make TimeZoneRegion::utc() return a TimeZoneRegion not an TimeZoneOffset

Make TimeZoneRegion::utc() return a TimeZoneRegion not an TimeZoneOffset #283

Triggered via pull request August 5, 2024 20:21
@tigitztigitz
synchronize #49
tigitz:master
Status Failure
Total duration 28s
Artifacts

psalm.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
MethodSignatureMismatch: src/TimeZoneRegion.php#L58
src/TimeZoneRegion.php:58:5: MethodSignatureMismatch: Method Brick\DateTime\TimeZoneRegion::utc with return type 'Brick\DateTime\TimeZoneRegion' is different to return type 'Brick\DateTime\TimeZoneOffset' of inherited method Brick\DateTime\TimeZone::utc (see https://psalm.dev/042)
Psalm
Process completed with exit code 2.