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
resource
is a reserved word in @template
context
#2625
Labels
Comments
I found these snippets: https://psalm.dev/r/e903579634<?php
/**
* @template T as scalar|array|object|resource|null
*
* @param T $s
*
* @return T
*/
function foo($s) {
/** @var T */
return $s;
}
|
for completeness have checked, it's fine in |
I found these snippets: https://psalm.dev/r/1eb2ffcac4<?php
/**
* @psalm-type T = scalar|array|object|resource|null
*
* @param T $s
*
* @return T
*/
function foo($s) {
/** @var T */
return $s;
}
|
bapcltd-marv
added a commit
to bapcltd/php-imap
that referenced
this issue
Jan 15, 2020
bapcltd-marv
added a commit
to bapcltd/php-imap
that referenced
this issue
Jan 15, 2020
bapcltd-marv
added a commit
to bapcltd/php-imap
that referenced
this issue
Jan 15, 2020
bapcltd-marv
added a commit
to bapcltd/php-imap
that referenced
this issue
Jan 15, 2020
bapcltd-marv
added a commit
to bapcltd/php-imap
that referenced
this issue
Jan 15, 2020
bapcltd-marv
added a commit
to bapcltd/php-imap
that referenced
this issue
Jan 15, 2020
bapcltd-marv
added a commit
to bapcltd/php-imap
that referenced
this issue
Jan 15, 2020
bapcltd-marv
added a commit
to bapcltd/php-imap
that referenced
this issue
Jan 15, 2020
bapcltd-marv
added a commit
to bapcltd/php-imap
that referenced
this issue
Jan 15, 2020
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
related to #1644 #2618 https://psalm.dev/r/e903579634
The text was updated successfully, but these errors were encountered: