1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 08:12:40 +01:00

Marked ArcanistDifferentialRevisionRef::newFromDictionary as a static method to statisfy E_STRICT standard

This commit is contained in:
Chris Johnson 2011-07-26 11:58:33 -07:00
parent 1bb2409d47
commit 3b4f9dbd9a

View file

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