simple-router-demo icon indicating copy to clipboard operation
simple-router-demo copied to clipboard

CsrfVerifier::$except must be an array; it is an array though

Open joelataylor opened this issue 11 months ago • 0 comments

Fatal error: Type of Demo\Middlewares\CsrfVerifier::$except must be array (as in class Pecee\Http\Middleware\BaseCsrfVerifier) in /var/www/html/app/Middlewares/CsrfVerifier.php on line 6

I'm confused; because the value of $except is ['/api/*'] - an array.

https://github.com/skipperbent/simple-router-demo/blob/master/app/Middlewares/CsrfVerifier.php#L11

joelataylor avatar Mar 12 '24 01:03 joelataylor