Issue #3322961 by mondrake: Fix WebAssert since PHPStan can now check the number of arguments passed to methods
mentioned in commit d2e813ee