mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Fixing issue when running 'arc diff'
Summary: There's a crash when `arc diff` is running it's lint / unit test phase which describes that this function should be public instead of private: ```Fatal error: Access level to PhabricatorPholioMockTestDataGenerator::loadPhabrictorUserPHID() must be public (as in class PhabricatorTestDataGenerator) in /srv/www/tychaia.com/phab/phabricator/src/applications/pholio/lipsum/PhabricatorPholioMockTestDataGenerator.php on line 102``` Test Plan: `arc diff` should not crash. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5828
This commit is contained in:
parent
8eb85683f0
commit
cb4263620b
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ final class PhabricatorPholioMockTestDataGenerator
|
||||||
return $mock->save();
|
return $mock->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
private function loadPhabrictorUserPHID() {
|
public function loadPhabrictorUserPHID() {
|
||||||
return $this->loadOneRandom("PhabricatorUser")->getPHID();
|
return $this->loadOneRandom("PhabricatorUser")->getPHID();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue