Not sure but I think there should be an space between (object) and array(

```php
   $otpConfig = (object) array(
```

I think the the code style rule is to add an space after type cast.