| 1 | <?php |
||
| 17 | class ResourceRouteReference extends ValueObject |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $route; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | protected $loadParameters; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The media-type name (ContentInfo, Location) of the resource. If null, the default will be used. |
||
| 31 | * @var null |
||
| 32 | */ |
||
| 33 | protected $mediaTypeName; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * ResourceRouteReference constructor. |
||
| 37 | * @param array $route |
||
| 38 | * @param $loadParameters |
||
| 39 | * @param string $mediaType The media-type name (ContentInfo, Location) of the resource. If null, the default will be used. |
||
| 40 | */ |
||
| 41 | public function __construct($route, $loadParameters, $mediaType = null) |
||
| 47 | } |
||
| 48 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..