Ignore some phpstan errors in stub file
@@ -9,3 +9,6 @@ parameters:
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
- '/Anonymous function has an unused use \$wrc{0,1}\./'
+ -
+ message: '/(Function|Method) [a-zA-Z0-9\\_:]+\(\) should return [a-z]+ but return statement is missing\./'
+ path: lib/swow-stub/src/Swow.php
