public function testVarComment() { $generated = $this->generator->defVar('testType', 'Test description')->code(); $expected = <<<'PHP' /** @var testType Test description */ PHP; static::assertEquals($expected, $generated); }
public function testVarComment() { $generated = $this->generator->defVar('testType', 'Test description')->code(); $expected = <<<'PHP' /** @var testType Test description */ PHP; static::assertEquals($expected, $generated); }