mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 10:50:48 +00:00
19 lines
376 B
PHP
19 lines
376 B
PHP
<?php declare (strict_types=1);
|
|
|
|
class ClassWithInjects
|
|
{
|
|
/**
|
|
* @var stdClass
|
|
*/
|
|
private $property;
|
|
/**
|
|
* @var DateTimeInterface
|
|
*/
|
|
private $otherProperty;
|
|
public function __construct(stdClass $property, DateTimeInterface $otherProperty)
|
|
{
|
|
$this->property = $property;
|
|
$this->otherProperty = $otherProperty;
|
|
}
|
|
}
|