1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

Change LiskDAO::generatePHID to be public

Summary: Ref T6822. There are a bunch of places where we call `$something->generatePHID(...)` externally (outside of the class). Therefore, these methods need to be `public`.

Test Plan: I wouldn't expect //increasing// method visibility to break anything.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6822

Differential Revision: https://secure.phabricator.com/D11363
This commit is contained in:
Joshua Spence 2015-01-14 07:03:13 +11:00
parent 346d970707
commit 36e0d080a7

View file

@ -1291,7 +1291,7 @@ abstract class LiskDAO {
*
* @task hook
*/
protected function generatePHID() {
public function generatePHID() {
throw new Exception(
'To use CONFIG_AUX_PHID, you need to overload '.
'generatePHID() to perform PHID generation.');