szepeviktor/phpstan-wordpress

Function apply_filters invoked with 3 parameters, 2 required

szepeviktor opened this issue · 1 comments

Please help me solve this thingy!

        /**
         * @param bool $enabled
         * @param self $instance
         */
        apply_filters(
            Plugin::SLUG.'_enable_two_step_payment',
            TwoStep::enabled(),
            $this
        );

Old stubs.

php-stubs/wordpress-stubs     v5.9.6

Duplicate of php-stubs/wordpress-stubs#12