Utils\PhpGenerator\Helpers::formatArgs and static method #474

Closed
PetrP opened this Issue Jan 19, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

PetrP commented Jan 19, 2012

$code = Nette\Utils\PhpGenerator\Helpers::formatArgs('Abc::?();', array('method'));
$this->assertSame('Abc::method();', $code);

Očekával bych Abc::method() ale dostanu Abc::'method'();. U $abc->?() to funguje.

Owner

dg commented Jan 19, 2012

Mně to funguje dobře, updatuj.

@dg dg closed this Jan 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment