You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
This patch re-instates the conditional check for non-string or empty
middleware, but with a slight change; it now reads:
```php
if (! is_string($middleware) || $middleware === '') {
throw Exception\InvalidMiddlewareException::forMiddleware($middleware);
}
```
This satisfies the static analyzer, while simultaneously ensuring the
intended behavior.
0 commit comments