aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider/oauth/service/base.php
diff options
context:
space:
mode:
authormrgoldy <gijsmartens1@gmail.com>2019-05-05 20:37:05 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-11-03 11:44:56 +0100
commit95a696c4daa7f481c71362f87d9b6c6cae34cbf4 (patch)
tree559c1be44b321a83816508a12dba0a6b2aed6642 /phpBB/phpbb/auth/provider/oauth/service/base.php
parent85910fe5bc828743f39cf295e48f6d393390433b (diff)
downloadforums-95a696c4daa7f481c71362f87d9b6c6cae34cbf4.tar
forums-95a696c4daa7f481c71362f87d9b6c6cae34cbf4.tar.gz
forums-95a696c4daa7f481c71362f87d9b6c6cae34cbf4.tar.bz2
forums-95a696c4daa7f481c71362f87d9b6c6cae34cbf4.tar.xz
forums-95a696c4daa7f481c71362f87d9b6c6cae34cbf4.zip
[ticket/16008] Properly order get_external_service_provider
PHPBB3-16008
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/service/base.php')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/base.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/base.php b/phpBB/phpbb/auth/provider/oauth/service/base.php
index 566b77202a..5ab426a0aa 100644
--- a/phpBB/phpbb/auth/provider/oauth/service/base.php
+++ b/phpBB/phpbb/auth/provider/oauth/service/base.php
@@ -44,16 +44,16 @@ abstract class base implements service_interface
/**
* {@inheritdoc}
*/
- public function set_external_service_provider(\OAuth\Common\Service\ServiceInterface $service_provider)
+ public function get_external_service_provider()
{
- $this->service_provider = $service_provider;
+ return $this->service_provider;
}
/**
* {@inheritdoc}
*/
- public function get_external_service_provider()
+ public function set_external_service_provider(\OAuth\Common\Service\ServiceInterface $service_provider)
{
- return $this->service_provider;
+ $this->service_provider = $service_provider;
}
}