Use only the first word of the @var annotation as type

This is a bugfix, so that comments that are followed after the type are not interpreted as type.

Example:

```php
/**
 * @var string Foo bar baz
 */
```

Without the patch the type would be `string Foo bar baz`, with the patch it would correctly be `string`.