Skip to content

Instantly share code, notes, and snippets.

@brianium
Created May 4, 2014 01:40
Show Gist options
  • Save brianium/2508c2c8c051c8d47cb4 to your computer and use it in GitHub Desktop.
Save brianium/2508c2c8c051c8d47cb4 to your computer and use it in GitHub Desktop.
Busted this using namespace in hacklang
<?hh //strict
namespace HackUnit\Runner;
class Options
{
protected ?string $testPath;
public function setTestPath(string $testPath): this
{
$this->testPath = $testPath;
return $this;
}
public function getTestPath(): ?string
{
return $this->testPath;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment