Skip to content
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

Upgrade PHPStan to v2 #274

Merged
merged 16 commits into from
Feb 12, 2025
Merged

Upgrade PHPStan to v2 #274

merged 16 commits into from
Feb 12, 2025

Conversation

szepeviktor
Copy link
Member

No description provided.

@szepeviktor szepeviktor changed the title Upgrade PHPStan Upgrade PHPStan to v2 Feb 12, 2025
@IanDelMar
Copy link
Contributor

In Faker.php try

    /**
     * @template T
     * @param T ...$types
     * @return T
     */
-    public static function union(...$types): mixed
+    public static function union(...$types)
    {
        return $types[0];
    }

@szepeviktor
Copy link
Member Author

Thank you.
Done.

@szepeviktor
Copy link
Member Author

Is this PR okay? I do not know what I'm doing.

@szepeviktor szepeviktor merged commit 8ecd5db into master Feb 12, 2025
6 checks passed
@szepeviktor szepeviktor deleted the szepeviktor-patch-3 branch February 12, 2025 09:44
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

Successfully merging this pull request may close these issues.

2 participants