Non static method 'for' should not be called statically RateLimiter
I found out the problem. You need to import the facade, and when you auto-import, it tends to get the wrong package. Look at the imports. If you find:
use IlluminateCacheRateLimiter;
You should replace with
use IlluminateSupportFacadesRateLimiter;
Worked for me!