From d7219a161906ae9e8ea69af4eefccc81580b0115 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 3 Feb 2011 15:59:45 -0800 Subject: [PATCH] Add a missing 'static' qualifier. --- src/parser/diff/hunk/ArcanistDiffHunk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/diff/hunk/ArcanistDiffHunk.php b/src/parser/diff/hunk/ArcanistDiffHunk.php index aa1be964..031f34fd 100644 --- a/src/parser/diff/hunk/ArcanistDiffHunk.php +++ b/src/parser/diff/hunk/ArcanistDiffHunk.php @@ -46,7 +46,7 @@ class ArcanistDiffHunk { ); } - public function newFromDictionary(array $dict) { + public static function newFromDictionary(array $dict) { $obj = new ArcanistDiffHunk(); $obj->oldOffset = $dict['oldOffset'];