typos in doc, no code changes

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2019-02-15 22:41:29 +01:00
parent 685c13e091
commit 173836b95a
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
5 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<?php <?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> * @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* *
@ -31,7 +31,7 @@ namespace OCA\Files_External\Config;
*/ */
trait SimpleSubstitutionTrait { trait SimpleSubstitutionTrait {
/** /**
* @var string the placeholder without @ prefix * @var string the placeholder without $ prefix
* @since 16.0.0 * @since 16.0.0
*/ */
private $placeholder; private $placeholder;

View File

@ -4,6 +4,7 @@
* *
* @author Morris Jobke <hey@morrisjobke.de> * @author Morris Jobke <hey@morrisjobke.de>
* @author Robin McCorkell <robin@mccorkell.me.uk> * @author Robin McCorkell <robin@mccorkell.me.uk>
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* *
* @license AGPL-3.0 * @license AGPL-3.0
* *
@ -292,8 +293,8 @@ class BackendService {
* *
* The function of the provided $placeholder is mostly to act a sorting * The function of the provided $placeholder is mostly to act a sorting
* criteria, so longer placeholders are replaced first. This avoids * criteria, so longer placeholders are replaced first. This avoids
* "@user" overwriting parts of "@userMail" and "@userLang", for example. * "$user" overwriting parts of "$userMail" and "$userLang", for example.
* The provided value should not contain the @ prefix, only a-z0-9 are * The provided value should not contain the $ prefix, only a-z0-9 are
* allowed. Upper case letters are lower cased, the replacement is case- * allowed. Upper case letters are lower cased, the replacement is case-
* insensitive. * insensitive.
* *

View File

@ -3,6 +3,7 @@
* @copyright Copyright (c) 2016, ownCloud, Inc. * @copyright Copyright (c) 2016, ownCloud, Inc.
* *
* @author Andreas Fischer <bantu@owncloud.com> * @author Andreas Fischer <bantu@owncloud.com>
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Bart Visscher <bartv@thisnet.nl> * @author Bart Visscher <bartv@thisnet.nl>
* @author Björn Schießle <bjoern@schiessle.org> * @author Björn Schießle <bjoern@schiessle.org>
* @author Frank Karlitschek <frank@karlitschek.de> * @author Frank Karlitschek <frank@karlitschek.de>

View File

@ -1,6 +1,6 @@
<?php <?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> * @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* *

View File

@ -220,6 +220,7 @@ class BackendServiceTest extends \Test\TestCase {
public function invalidConfigPlaceholderProvider() { public function invalidConfigPlaceholderProvider() {
return [ return [
[['@user']], [['@user']],
[['$user']],
[['hællo']], [['hællo']],
[['spa ce']], [['spa ce']],
[['yo\o']], [['yo\o']],