1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Diffusion - fix error log spew from D5894

Summary: forgot to declare this method as static. PHP manages to make it work functionally anyway. Ref T2784. Fixes T3175.

Test Plan: loaded diffusion, observed no errors

Reviewers: chad, epriestley

CC: aran, Korvin

Maniphest Tasks: T3175, T2784

Differential Revision: https://secure.phabricator.com/D5899
This commit is contained in:
Bob Trahan 2013-05-10 17:59:05 -07:00
parent 3c1f402da3
commit 83bb113be7

View file

@ -73,7 +73,7 @@ final class DiffusionRepositoryTag {
'type' => $this->getType());
}
public function newFromConduit(array $dicts) {
public static function newFromConduit(array $dicts) {
$tags = array();
foreach ($dicts as $dict) {
$tags[] = id(new DiffusionRepositoryTag())