1<?php 2 3declare(strict_types=1); 4 5namespace JMS\Serializer\Tests\Fixtures; 6 7use JMS\Serializer\Annotation\Type; 8 9class Garage 10{ 11 /** 12 * @Type("array<JMS\Serializer\Tests\Fixtures\Discriminator\Vehicle>") 13 */ 14 public $vehicles; 15 16 public function __construct($vehicles) 17 { 18 $this->vehicles = $vehicles; 19 } 20} 21