<?php

namespace Rector\CodeQuality\Tests\Rector\Stmt\DeadCodeRemovingRector\Fixture;

class SomeClass
{
    private $value;

    /**
     * @var mixed[]
     */
    private $values = [];

    /**
     * @var callable[]
     */
    private $callable = [];

    public function first()
    {
        $this->value = 5;
        $this->value;
    }

    public function second()
    {
        $this->values[] = 5;
        $this->values[0];
    }

    public function third()
    {
        $this->callable[0]();
    }
}

?>
-----
<?php

namespace Rector\CodeQuality\Tests\Rector\Stmt\DeadCodeRemovingRector\Fixture;

class SomeClass
{
    private $value;

    /**
     * @var mixed[]
     */
    private $values = [];

    /**
     * @var callable[]
     */
    private $callable = [];

    public function first()
    {
        $this->value = 5;
    }

    public function second()
    {
        $this->values[] = 5;
    }

    public function third()
    {
        $this->callable[0]();
    }
}

?>
