Added phpdocs blocks to prevent inspection errors.

another pull request i am not sure if it is correct or not.
For these types of inline blocks, can you format them like this?

```php
/** @var  \SplFileInfo  $file */
```

The `@ignore` tag isn't necessary and then they're consistent with the order on our method doc blocks.