rector/tests/NodeVisitor/DependencyInjection/InjectAnnotationToConstructorRector/correct/correct.php.inc
TomasVotruba 70bb18f099 renaming
2017-08-08 02:30:29 +02:00

20 lines
377 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;
}
}