summaryrefslogtreecommitdiffstats
path: root/lib/public/Util.php
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2023-05-10 11:56:34 +0200
committerSimon L <szaimen@e.mail.de>2023-05-10 11:56:34 +0200
commitd55a7c619d3733863387cc8c6269050b72cbff0c (patch)
tree65c692a53f75b72e30faeac5a1d5d5cfd38c97a1 /lib/public/Util.php
parent14cb58c0e5b4507704755a462a859c407173c21f (diff)
downloadnextcloud-server-d55a7c619d3733863387cc8c6269050b72cbff0c.tar.gz
nextcloud-server-d55a7c619d3733863387cc8c6269050b72cbff0c.zip
Fix typos in lib/public subdirectory
Found via `codespell -q 3 -S l10n -L jus ./lib/public` Signed-off-by: luz paz <luzpaz@github.com> Update lib/public/Accounts/IAccount.php Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: Simon L <szaimen@e.mail.de> Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Diffstat (limited to 'lib/public/Util.php')
-rw-r--r--lib/public/Util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php
index 69eccbbc5f6..64934c5f3ad 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -576,13 +576,13 @@ class Util {
* Sometimes a string has to be shortened to fit within a certain maximum
* data length in bytes. substr() you may break multibyte characters,
* because it operates on single byte level. mb_substr() operates on
- * characters, so does not ensure that the shortend string satisfies the
+ * characters, so does not ensure that the shortened string satisfies the
* max length in bytes.
*
* For example, json_encode is messing with multibyte characters a lot,
* replacing them with something along "\u1234".
*
- * This function shortens the string with by $accurancy (-5) from
+ * This function shortens the string with by $accuracy (-5) from
* $dataLength characters, until it fits within $dataLength bytes.
*
* @since 23.0.0