mirror of
https://github.com/danog/Valinor.git
synced 2024-12-12 00:59:47 +01:00
22 lines
383 B
PHP
22 lines
383 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace CuyZ\Valinor\Tests\Integration\Mapping\Fixture;
|
||
|
|
||
|
// @PHP8.0 move inside \CuyZ\Valinor\Tests\Integration\Mapping\Object\UnionOfObjectsMappingTest
|
||
|
final class NativeUnionOfObjects
|
||
|
{
|
||
|
public SomeFooObject|SomeBarObject $object;
|
||
|
}
|
||
|
|
||
|
final class SomeFooObject
|
||
|
{
|
||
|
public string $foo;
|
||
|
}
|
||
|
|
||
|
final class SomeBarObject
|
||
|
{
|
||
|
public string $bar;
|
||
|
}
|