-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidAttribute for #[\Override] in PHP 8.3 #10404
Comments
Hey @vudaltsov, can you reproduce the issue on https://psalm.dev ? |
Only way I can reproduce is with the following snippet, but psalm.dev does not recognize |
I found these snippets: https://psalm.dev/r/e9a17b8541<?php
use Override;
interface Example
{
public function __invoke(string $name): string;
}
class Child implements Example
{
#[Override]
public function __invoke(string $name): string
{
return $name;
}
}
|
1 task
any news? |
I created the PR and it is in a passing state. Should be a matter of time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: