diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-02-15 22:41:29 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-02-15 22:41:29 +0100 |
commit | 173836b95af7cdc87cb603c5d98494b02242a949 (patch) | |
tree | 02e40d82b975e527ff4177e213c58aedd23b14d6 | |
parent | 685c13e091e25b6df0b93285446e61bdc4d7315b (diff) | |
download | nextcloud-server-173836b95af7cdc87cb603c5d98494b02242a949.tar.gz nextcloud-server-173836b95af7cdc87cb603c5d98494b02242a949.zip |
typos in doc, no code changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 files changed, 8 insertions, 5 deletions
diff --git a/apps/files_external/lib/Config/SimpleSubstitutionTrait.php b/apps/files_external/lib/Config/SimpleSubstitutionTrait.php index 9abbfe0df22..05bd529f1c1 100644 --- a/apps/files_external/lib/Config/SimpleSubstitutionTrait.php +++ b/apps/files_external/lib/Config/SimpleSubstitutionTrait.php @@ -1,6 +1,6 @@ <?php /** - * @copyright Copyright (c) 2018 Arthur Schiwon <blizzz@arthur-schiwon.de> + * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> * * @author Arthur Schiwon <blizzz@arthur-schiwon.de> * @@ -31,7 +31,7 @@ namespace OCA\Files_External\Config; */ trait SimpleSubstitutionTrait { /** - * @var string the placeholder without @ prefix + * @var string the placeholder without $ prefix * @since 16.0.0 */ private $placeholder; diff --git a/apps/files_external/lib/Service/BackendService.php b/apps/files_external/lib/Service/BackendService.php index 3c66e8eb3cd..bd4d2bffa7b 100644 --- a/apps/files_external/lib/Service/BackendService.php +++ b/apps/files_external/lib/Service/BackendService.php @@ -4,6 +4,7 @@ * * @author Morris Jobke <hey@morrisjobke.de> * @author Robin McCorkell <robin@mccorkell.me.uk> + * @author Arthur Schiwon <blizzz@arthur-schiwon.de> * * @license AGPL-3.0 * @@ -292,8 +293,8 @@ class BackendService { * * The function of the provided $placeholder is mostly to act a sorting * criteria, so longer placeholders are replaced first. This avoids - * "@user" overwriting parts of "@userMail" and "@userLang", for example. - * The provided value should not contain the @ prefix, only a-z0-9 are + * "$user" overwriting parts of "$userMail" and "$userLang", for example. + * The provided value should not contain the $ prefix, only a-z0-9 are * allowed. Upper case letters are lower cased, the replacement is case- * insensitive. * diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 86be517bf03..65e8ae387bd 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Andreas Fischer <bantu@owncloud.com> + * @author Arthur Schiwon <blizzz@arthur-schiwon.de> * @author Bart Visscher <bartv@thisnet.nl> * @author Björn Schießle <bjoern@schiessle.org> * @author Frank Karlitschek <frank@karlitschek.de> diff --git a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php index d44a146cc80..b6103c20b46 100644 --- a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php +++ b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php @@ -1,6 +1,6 @@ <?php /** - * @copyright Copyright (c) 2018 Arthur Schiwon <blizzz@arthur-schiwon.de> + * @copyright Copyright (c) 2019 Arthur Schiwon <blizzz@arthur-schiwon.de> * * @author Arthur Schiwon <blizzz@arthur-schiwon.de> * diff --git a/apps/files_external/tests/Service/BackendServiceTest.php b/apps/files_external/tests/Service/BackendServiceTest.php index 1e3b6b58751..71990553e8d 100644 --- a/apps/files_external/tests/Service/BackendServiceTest.php +++ b/apps/files_external/tests/Service/BackendServiceTest.php @@ -220,6 +220,7 @@ class BackendServiceTest extends \Test\TestCase { public function invalidConfigPlaceholderProvider() { return [ [['@user']], + [['$user']], [['hællo']], [['spa ce']], [['yo\o']], |