From 36e0d080a789efb5487e7d86dbc3c667b78773b2 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 14 Jan 2015 07:03:13 +1100 Subject: [PATCH] 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 --- src/infrastructure/storage/lisk/LiskDAO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infrastructure/storage/lisk/LiskDAO.php b/src/infrastructure/storage/lisk/LiskDAO.php index d52d9375be..5d83b3fc4e 100644 --- a/src/infrastructure/storage/lisk/LiskDAO.php +++ b/src/infrastructure/storage/lisk/LiskDAO.php @@ -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.');