You can use
```php
/**
 * @var \OCP\Files\Lock[] $locks
 */
```
to specify what array it is