Skip to content
Triggered via pull request May 24, 2024 05:12
@tyler36tyler36
opened #1
bad
Status Failure
Total duration 16s
Artifacts

psalm.yaml

on: pull_request
🧹 Psalm
8s
🧹 Psalm
Fit to window
Zoom out
Zoom in

Annotations

2 errors
InvalidReturnType: app/Book.php#L10
app/Book.php:10:31: InvalidReturnType: The declared return type 'int' for Book::getTitle is incorrect, got 'string' (see https://psalm.dev/011)
InvalidReturnStatement: app/Book.php#L11
app/Book.php:11:12: InvalidReturnStatement: The inferred type 'string' does not match the declared return type 'int' for Book::getTitle (see https://psalm.dev/128)