diff options
author | luz paz <luzpaz@github.com> | 2022-07-27 08:51:42 -0400 |
---|---|---|
committer | luz paz <luzpaz@pm.me> | 2022-07-27 08:52:17 -0400 |
commit | 368f83095d443c28b0d90d2308549349cc28dd05 (patch) | |
tree | 34dad42801d67a12fb183892e81f7eea3b641950 /lib/private/Share | |
parent | 3e9c52ae5f640e40f26beec76c26272cf7fb1387 (diff) | |
download | nextcloud-server-368f83095d443c28b0d90d2308549349cc28dd05.tar.gz nextcloud-server-368f83095d443c28b0d90d2308549349cc28dd05.zip |
Fix typos in lib/private subdirectory
Found via `codespell -q 3 -S l10n -L jus ./lib/private`
Signed-off-by: luz paz <luzpaz@github.com>
Diffstat (limited to 'lib/private/Share')
-rw-r--r-- | lib/private/Share/Constants.php | 2 | ||||
-rw-r--r-- | lib/private/Share/Share.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Share/Constants.php b/lib/private/Share/Constants.php index 31c734f94aa..3632a2a26d1 100644 --- a/lib/private/Share/Constants.php +++ b/lib/private/Share/Constants.php @@ -79,7 +79,7 @@ class Constants { public const FORMAT_STATUSES = -2; public const FORMAT_SOURCES = -3; // ToDo Check if it is still in use otherwise remove it - public const RESPONSE_FORMAT = 'json'; // default resonse format for ocs calls + public const RESPONSE_FORMAT = 'json'; // default response format for ocs calls public const TOKEN_LENGTH = 15; // old (oc7) length is 32, keep token length in db at least that for compatibility diff --git a/lib/private/Share/Share.php b/lib/private/Share/Share.php index 9018f35ac2a..f47c042df29 100644 --- a/lib/private/Share/Share.php +++ b/lib/private/Share/Share.php @@ -732,7 +732,7 @@ class Share extends Constants { foreach ($result as $key => $r) { // for file/folder shares we need to compare file_source, otherwise we compare item_source // only group shares if they already point to the same target, otherwise the file where shared - // before grouping of shares was added. In this case we don't group them toi avoid confusions + // before grouping of shares was added. In this case we don't group them to avoid confusions if (($fileSharing && $item['file_source'] === $r['file_source'] && $item['file_target'] === $r['file_target']) || (!$fileSharing && $item['item_source'] === $r['item_source'] && $item['item_target'] === $r['item_target'])) { // add the first item to the list of grouped shares @@ -757,7 +757,7 @@ class Share extends Constants { /** * construct select statement * @param int $format - * @param boolean $fileDependent ist it a file/folder share or a generla share + * @param boolean $fileDependent ist it a file/folder share or a general share * @param string $uidOwner * @return string select statement */ |