mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-25 20:23:49 +01:00
commit
11b5bee518
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Rector\DeadCode\Tests\Rector\Property\RemoveUnusedPrivatePropertyRector\Fixture;
|
||||
|
||||
class ConstructorOnly
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
private $contentFinder;
|
||||
|
||||
public function __construct(int $contentFinder)
|
||||
{
|
||||
$this->contentFinder = $contentFinder;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
-----
|
||||
<?php
|
||||
|
||||
namespace Rector\DeadCode\Tests\Rector\Property\RemoveUnusedPrivatePropertyRector\Fixture;
|
||||
|
||||
class ConstructorOnly
|
||||
{
|
||||
public function __construct(int $contentFinder)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user