Skip to content

script issue with a function a named array #18

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

Open
faheemhameed opened this issue Jan 18, 2025 · 0 comments
Open

script issue with a function a named array #18

faheemhameed opened this issue Jan 18, 2025 · 0 comments

Comments

@faheemhameed
Copy link

If you have a function like this then the script messes it up.

/**
 * @return CollectionType<BuiltinType<TypeIdentifier::ARRAY>>
 */
public static function array(?Type $value = null, ?Type $key = null, bool $asList = false): CollectionType
{
    return self::collection(self::builtin(TypeIdentifier::ARRAY), $value, $key, $asList);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant