for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Padawan\Domain\Project\Node;
class TypeHint extends Variable {
public $startLine = 0;
public static function create(Variable $variable, $startLine)
{
$th = new TypeHint($variable->getName());
$th->setType($variable->getType());
$th->startLine = $startLine;
return $th;
}