From 3b4f9dbd9ad0716b3a9fd996dbf909d2386c7ed1 Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Tue, 26 Jul 2011 11:58:33 -0700 Subject: [PATCH] Marked ArcanistDifferentialRevisionRef::newFromDictionary as a static method to statisfy E_STRICT standard --- src/differential/revision/ArcanistDifferentialRevisionRef.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/differential/revision/ArcanistDifferentialRevisionRef.php b/src/differential/revision/ArcanistDifferentialRevisionRef.php index 8e6c19ff..5a7668b4 100644 --- a/src/differential/revision/ArcanistDifferentialRevisionRef.php +++ b/src/differential/revision/ArcanistDifferentialRevisionRef.php @@ -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'];