mirror of
https://github.com/danog/Valinor.git
synced 2024-12-11 16:49:51 +01:00
16 lines
278 B
PHP
16 lines
278 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace CuyZ\Valinor\Tests\Fixture\Object;
|
||
|
|
||
|
// @PHP8.0 move to anonymous class
|
||
|
final class ObjectWithPropertyPromotion
|
||
|
{
|
||
|
public function __construct(
|
||
|
/** @var non-empty-string */
|
||
|
public string $someProperty
|
||
|
) {
|
||
|
}
|
||
|
}
|