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:
commit
8e117fc0f1
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||||
|
|
Loading…
Reference in a new issue