mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Marked ArcanistDifferentialRevisionRef::newFromDictionary as a static method to statisfy E_STRICT standard
This commit is contained in:
parent
1bb2409d47
commit
3b4f9dbd9a
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