diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-21 23:56:00 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-22 00:08:27 +0300 |
commit | 8e5657014dc77eb2978c9b1c0aac505b7f30eaed (patch) | |
tree | 364f590458b1cd0fecffc461f1d1a964ec6cd5f5 /lib/private/SystemTag/ManagerFactory.php | |
parent | f01754a389cf30cbebd391f812e46548dc062cc2 (diff) |
Make SystemTag strict
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/SystemTag/ManagerFactory.php')
-rw-r--r-- | lib/private/SystemTag/ManagerFactory.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/SystemTag/ManagerFactory.php b/lib/private/SystemTag/ManagerFactory.php index 12af2523f47..839a819a04a 100644 --- a/lib/private/SystemTag/ManagerFactory.php +++ b/lib/private/SystemTag/ManagerFactory.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * @@ -57,7 +58,7 @@ class ManagerFactory implements ISystemTagManagerFactory { * @return ISystemTagManager * @since 9.0.0 */ - public function getManager() { + public function getManager(): ISystemTagManager { return new SystemTagManager( $this->serverContainer->getDatabaseConnection(), $this->serverContainer->getGroupManager(), @@ -72,7 +73,7 @@ class ManagerFactory implements ISystemTagManagerFactory { * @return ISystemTagObjectMapper * @since 9.0.0 */ - public function getObjectMapper() { + public function getObjectMapper(): ISystemTagObjectMapper { return new SystemTagObjectMapper( $this->serverContainer->getDatabaseConnection(), $this->getManager(), |