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

Improve PHPStan usage #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

szepeviktor
Copy link

@bswatson Hello!

Current output is

[ERROR] Found 28 errors

Do you like these changes?

Comment on lines +137 to +139
/** @var \WooCommerce\PayPalCommerce\Onboarding\Render\OnboardingOptionsRenderer $onboarding */
$onboarding = $container->get( 'onboarding.render' );
/** @var \WooCommerce\PayPalCommerce\WcGateway\Settings\Settings $settings */
Copy link
Author

@szepeviktor szepeviktor Oct 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are more advanced solutions than adding individual @var tags.

Although it takes only a few minutes to add them all!

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.

1 participant