Missing spaces before and after **!**
```php
if ( ! $cacheProvider instanceof Cache) {
// ...
}
```