mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Make misc get*ApplicationClass[Name]() calls return ::class constant instead of string
Summary: `::class` is available since PHP 5.5 (5.5 is a minimal requirement by Phorge): https://www.php.net/manual/en/language.oop5.basic.php#language.oop5.basic.class.class It makes finding code using IDEs easier; see discussion in D25500. Thus replace all string return values with returning the `::class` constant instead, with one exception: 'PhabricatorSettingApplication' in `PhabricatorUserPreferencesSearchEngine.php` does not exist and makes arc lint fail so this string remained unchanged. Also note that two occurrences were wrapped in `pht()` for reasons I do not know. List of functions whose return value get updated in this code change: * getApplicationClassName() * getAdapterApplicationClass() * getDatasourceApplicationClass() * getEditorApplicationClass() * getEngineApplicationClass() * getPHIDTypeApplicationClass() * getQueryApplicationClass() cf. T15158 Test Plan: Too broad - click around, basically. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T15158 Differential Revision: https://we.phorge.it/D25524
This commit is contained in:
parent
d9919ddb06
commit
25aebab655
571 changed files with 571 additions and 571 deletions
|
@ -36,7 +36,7 @@ final class AlmanacBindingEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -22,7 +22,7 @@ final class AlmanacDeviceEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -4,7 +4,7 @@ abstract class AlmanacEditor
|
||||||
extends PhabricatorApplicationTransactionEditor {
|
extends PhabricatorApplicationTransactionEditor {
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ final class AlmanacInterfaceEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -22,7 +22,7 @@ final class AlmanacNamespaceEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -22,7 +22,7 @@ final class AlmanacNetworkEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -35,7 +35,7 @@ abstract class AlmanacPropertyEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -33,7 +33,7 @@ final class AlmanacServiceEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class AlmanacBindingPHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class AlmanacDevicePHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class AlmanacInterfacePHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class AlmanacNamespacePHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class AlmanacNetworkPHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class AlmanacServicePHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class AlmanacBindingSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -148,7 +148,7 @@ final class AlmanacDeviceQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class AlmanacDeviceSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -169,7 +169,7 @@ final class AlmanacInterfaceQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBuiltinOrders() {
|
public function getBuiltinOrders() {
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class AlmanacInterfaceSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -92,7 +92,7 @@ final class AlmanacNamespaceQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class AlmanacNamespaceSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -64,7 +64,7 @@ final class AlmanacNetworkQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class AlmanacNetworkSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -99,7 +99,7 @@ final class AlmanacPropertyQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,7 +55,7 @@ abstract class AlmanacQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class AlmanacServiceSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -12,7 +12,7 @@ final class AlmanacInterfaceDatasource
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDatasourceApplicationClass() {
|
public function getDatasourceApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function loadResults() {
|
public function loadResults() {
|
||||||
|
|
|
@ -12,7 +12,7 @@ final class AlmanacServiceDatasource
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDatasourceApplicationClass() {
|
public function getDatasourceApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function loadResults() {
|
public function loadResults() {
|
||||||
|
|
|
@ -12,7 +12,7 @@ final class AlmanacServiceTypeDatasource
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDatasourceApplicationClass() {
|
public function getDatasourceApplicationClass() {
|
||||||
return 'PhabricatorAlmanacApplication';
|
return PhabricatorAlmanacApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function loadResults() {
|
public function loadResults() {
|
||||||
|
|
|
@ -22,7 +22,7 @@ final class PhabricatorAuditEditor
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorDiffusionApplication';
|
return PhabricatorDiffusionApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class DiffusionInternalCommitSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorDiffusionApplication';
|
return PhabricatorDiffusionApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorCommitSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorDiffusionApplication';
|
return PhabricatorDiffusionApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -22,7 +22,7 @@ final class PhabricatorAuthContactNumberEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -4,7 +4,7 @@ final class PhabricatorAuthContactNumberEditor
|
||||||
extends PhabricatorApplicationTransactionEditor {
|
extends PhabricatorApplicationTransactionEditor {
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -24,7 +24,7 @@ final class PhabricatorAuthFactorProviderEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setProviderFactor(PhabricatorAuthFactor $factor) {
|
public function setProviderFactor(PhabricatorAuthFactor $factor) {
|
||||||
|
|
|
@ -4,7 +4,7 @@ final class PhabricatorAuthFactorProviderEditor
|
||||||
extends PhabricatorApplicationTransactionEditor {
|
extends PhabricatorApplicationTransactionEditor {
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -24,7 +24,7 @@ final class PhabricatorAuthMessageEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setMessageType(PhabricatorAuthMessageType $type) {
|
public function setMessageType(PhabricatorAuthMessageType $type) {
|
||||||
|
|
|
@ -4,7 +4,7 @@ final class PhabricatorAuthMessageEditor
|
||||||
extends PhabricatorApplicationTransactionEditor {
|
extends PhabricatorApplicationTransactionEditor {
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -15,7 +15,7 @@ final class PhabricatorAuthPasswordEditor
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -4,7 +4,7 @@ final class PhabricatorAuthProviderConfigEditor
|
||||||
extends PhabricatorApplicationTransactionEditor {
|
extends PhabricatorApplicationTransactionEditor {
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -15,7 +15,7 @@ final class PhabricatorAuthSSHKeyEditor
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorAuthAuthFactorPHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorAuthAuthFactorProviderPHIDType
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorAuthAuthProviderPHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorAuthChallengePHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorAuthContactNumberPHIDType
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorAuthInvitePHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorAuthMessagePHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorAuthPasswordPHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorAuthSSHKeyPHIDType
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorAuthSessionPHIDType
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -89,7 +89,7 @@ final class PhabricatorAuthChallengeQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ final class PhabricatorAuthContactNumberQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,7 @@ final class PhabricatorAuthFactorConfigQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ final class PhabricatorAuthFactorProviderQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorAuthInviteSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function canUseInPanelContext() {
|
public function canUseInPanelContext() {
|
||||||
|
|
|
@ -73,7 +73,7 @@ final class PhabricatorAuthMessageQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,7 +104,7 @@ final class PhabricatorAuthPasswordQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ final class PhabricatorAuthProviderConfigQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -128,7 +128,7 @@ final class PhabricatorAuthSSHKeyQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ final class PhabricatorAuthSSHKeySearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -107,7 +107,7 @@ final class PhabricatorAuthSessionQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -100,7 +100,7 @@ final class PhabricatorAuthTemporaryTokenQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorAuthApplication';
|
return PhabricatorAuthApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ final class PhabricatorExternalAccountIdentifierQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorPeopleApplication';
|
return PhabricatorPeopleApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,7 +241,7 @@ final class PhabricatorExternalAccountQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorPeopleApplication';
|
return PhabricatorPeopleApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ final class PhabricatorBadgesEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorBadgesApplication';
|
return PhabricatorBadgesApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSummaryHeader() {
|
public function getSummaryHeader() {
|
||||||
|
|
|
@ -4,7 +4,7 @@ final class PhabricatorBadgesEditor
|
||||||
extends PhabricatorApplicationTransactionEditor {
|
extends PhabricatorApplicationTransactionEditor {
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorBadgesApplication';
|
return PhabricatorBadgesApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorBadgesPHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorBadgesApplication';
|
return PhabricatorBadgesApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -115,7 +115,7 @@ final class PhabricatorBadgesAwardQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorBadgesApplication';
|
return PhabricatorBadgesApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ final class PhabricatorBadgesQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorBadgesApplication';
|
return PhabricatorBadgesApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBuiltinOrders() {
|
public function getBuiltinOrders() {
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorBadgesSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorBadgesApplication';
|
return PhabricatorBadgesApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -12,7 +12,7 @@ final class PhabricatorBadgesDatasource
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDatasourceApplicationClass() {
|
public function getDatasourceApplicationClass() {
|
||||||
return 'PhabricatorBadgesApplication';
|
return PhabricatorBadgesApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function loadResults() {
|
public function loadResults() {
|
||||||
|
|
|
@ -33,7 +33,7 @@ final class PhabricatorCalendarEventEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -7,7 +7,7 @@ final class PhabricatorCalendarEventEditor
|
||||||
private $newIsAllDay;
|
private $newIsAllDay;
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -22,7 +22,7 @@ final class PhabricatorCalendarExportEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -4,7 +4,7 @@ final class PhabricatorCalendarExportEditor
|
||||||
extends PhabricatorApplicationTransactionEditor {
|
extends PhabricatorApplicationTransactionEditor {
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -33,7 +33,7 @@ final class PhabricatorCalendarImportEditEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEngineApplicationClass() {
|
public function getEngineApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function newEditableObject() {
|
protected function newEditableObject() {
|
||||||
|
|
|
@ -4,7 +4,7 @@ final class PhabricatorCalendarImportEditor
|
||||||
extends PhabricatorApplicationTransactionEditor {
|
extends PhabricatorApplicationTransactionEditor {
|
||||||
|
|
||||||
public function getEditorApplicationClass() {
|
public function getEditorApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEditorObjectsDescription() {
|
public function getEditorObjectsDescription() {
|
||||||
|
|
|
@ -5,7 +5,7 @@ final class PhabricatorCalendarEventHeraldAdapter extends HeraldAdapter {
|
||||||
private $object;
|
private $object;
|
||||||
|
|
||||||
public function getAdapterApplicationClass() {
|
public function getAdapterApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAdapterContentDescription() {
|
public function getAdapterContentDescription() {
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorCalendarEventPHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorCalendarExportPHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -14,7 +14,7 @@ final class PhabricatorCalendarExternalInviteePHIDType
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -13,7 +13,7 @@ final class PhabricatorCalendarImportPHIDType extends PhabricatorPHIDType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPHIDTypeApplicationClass() {
|
public function getPHIDTypeApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function buildQueryForObjects(
|
protected function buildQueryForObjects(
|
||||||
|
|
|
@ -93,7 +93,7 @@ final class PhabricatorCalendarEventInviteeQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -513,7 +513,7 @@ final class PhabricatorCalendarEventQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function willFilterPage(array $events) {
|
protected function willFilterPage(array $events) {
|
||||||
|
|
|
@ -12,7 +12,7 @@ final class PhabricatorCalendarEventSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function newQuery() {
|
public function newQuery() {
|
||||||
|
|
|
@ -84,7 +84,7 @@ final class PhabricatorCalendarExportQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorCalendarExportSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function canUseInPanelContext() {
|
public function canUseInPanelContext() {
|
||||||
|
|
|
@ -58,7 +58,7 @@ final class PhabricatorCalendarExternalInviteeQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,7 +101,7 @@ final class PhabricatorCalendarImportLogQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorCalendarImportLogSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function canUseInPanelContext() {
|
public function canUseInPanelContext() {
|
||||||
|
|
|
@ -89,7 +89,7 @@ final class PhabricatorCalendarImportQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorCalendarImportSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function canUseInPanelContext() {
|
public function canUseInPanelContext() {
|
||||||
|
|
|
@ -12,7 +12,7 @@ final class PhabricatorCalendarInviteeDatasource
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDatasourceApplicationClass() {
|
public function getDatasourceApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getComponentDatasources() {
|
public function getComponentDatasources() {
|
||||||
|
|
|
@ -12,7 +12,7 @@ final class PhabricatorCalendarInviteeUserDatasource
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDatasourceApplicationClass() {
|
public function getDatasourceApplicationClass() {
|
||||||
return 'PhabricatorCalendarApplication';
|
return PhabricatorCalendarApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getComponentDatasources() {
|
public function getComponentDatasources() {
|
||||||
|
|
|
@ -12,7 +12,7 @@ final class PhabricatorCalendarInviteeViewerFunctionDatasource
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDatasourceApplicationClass() {
|
public function getDatasourceApplicationClass() {
|
||||||
return 'PhabricatorPeopleApplication';
|
return PhabricatorPeopleApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDatasourceFunctions() {
|
public function getDatasourceFunctions() {
|
||||||
|
|
|
@ -107,7 +107,7 @@ final class PhabricatorConduitLogQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorConduitApplication';
|
return PhabricatorConduitApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorConduitLogSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorConduitApplication';
|
return PhabricatorConduitApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function canUseInPanelContext() {
|
public function canUseInPanelContext() {
|
||||||
|
|
|
@ -152,7 +152,7 @@ final class PhabricatorConduitMethodQuery
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getQueryApplicationClass() {
|
public function getQueryApplicationClass() {
|
||||||
return 'PhabricatorConduitApplication';
|
return PhabricatorConduitApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorConduitSearchEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApplicationClassName() {
|
public function getApplicationClassName() {
|
||||||
return 'PhabricatorConduitApplication';
|
return PhabricatorConduitApplication::class;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function canUseInPanelContext() {
|
public function canUseInPanelContext() {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue