]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Add a missing 'static' qualifier.
authorepriestley <epriestley@phabricator.com>
Thu, 3 Feb 2011 23:59:45 +0000 (15:59 -0800)
committerepriestley <epriestley@phabricator.com>
Thu, 3 Feb 2011 23:59:45 +0000 (15:59 -0800)
src/parser/diff/hunk/ArcanistDiffHunk.php

index aa1be964d4d242447beb6ec55bcf51411dd0d16a..031f34fd12984fdd62cfc37aee13350e207da883 100644 (file)
@@ -46,7 +46,7 @@ class ArcanistDiffHunk {
     );
   }
 
-  public function newFromDictionary(array $dict) {
+  public static function newFromDictionary(array $dict) {
     $obj = new ArcanistDiffHunk();
 
     $obj->oldOffset = $dict['oldOffset'];