1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

Merge pull request #2 from tenorviol/master

static function ArcanistDifferentialRevisionRef::newFromDictionary
This commit is contained in:
Evan Priestley 2011-07-26 12:22:33 -07:00
commit 8e117fc0f1

View file

@ -28,7 +28,7 @@ class ArcanistDifferentialRevisionRef {
protected $statusName; protected $statusName;
protected $sourcePath; protected $sourcePath;
public function newFromDictionary(array $dictionary) { public static function newFromDictionary(array $dictionary) {
$ref = new ArcanistDifferentialRevisionRef(); $ref = new ArcanistDifferentialRevisionRef();
$ref->id = $dictionary['id']; $ref->id = $dictionary['id'];
$ref->name = $dictionary['name']; $ref->name = $dictionary['name'];