Inline type definition does not work with | operator

This one is valid

/** @var \Drupal\Component\Uuid\UuidInterface $foo */

but this one is invalid

/** @var \Drupal\Component\Uuid\UuidInterface|\PHPUnit_Framework_MockObject_MockObject $foo */

Comments

klausi’s picture

Status: Active » Closed (duplicate)