From ad3b38ec9e261254144349c6746b6069860b0c84 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 1 Feb 2019 15:01:49 +0100 Subject: [PATCH] Fix typos See #2825 Co-Authored-By: joshuaruesweg --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Delete.js | 2 +- .../install/files/lib/action/AJAXFileDeleteAction.class.php | 2 +- .../install/files/lib/action/AJAXFileUploadAction.class.php | 2 +- .../lib/system/form/builder/field/UploadFormField.class.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Delete.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Delete.js index d49d58e9c6..46a1fb72a1 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Delete.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Delete.js @@ -2,7 +2,7 @@ * Delete files which are uploaded via AJAX. * * @author Joshua Ruesweg - * @copyright 2001-2018 WoltLab GmbH + * @copyright 2001-2019 WoltLab GmbH * @license GNU Lesser General Public License * @module WoltLabSuite/Core/Ui/File/Delete * @since 5.2 diff --git a/wcfsetup/install/files/lib/action/AJAXFileDeleteAction.class.php b/wcfsetup/install/files/lib/action/AJAXFileDeleteAction.class.php index 5a66ca6c18..4ea5bd2a16 100644 --- a/wcfsetup/install/files/lib/action/AJAXFileDeleteAction.class.php +++ b/wcfsetup/install/files/lib/action/AJAXFileDeleteAction.class.php @@ -13,7 +13,7 @@ use wcf\util\JSON; * @copyright 2001-2018 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\Acp\Action - * @since 3.2 + * @since 5.2 */ class AJAXFileDeleteAction extends AbstractSecureAction { use TAJAXException; diff --git a/wcfsetup/install/files/lib/action/AJAXFileUploadAction.class.php b/wcfsetup/install/files/lib/action/AJAXFileUploadAction.class.php index bb3e6c8f11..4b2bdc9e7f 100644 --- a/wcfsetup/install/files/lib/action/AJAXFileUploadAction.class.php +++ b/wcfsetup/install/files/lib/action/AJAXFileUploadAction.class.php @@ -15,7 +15,7 @@ use wcf\util\JSON; * @copyright 2001-2018 WoltLab GmbH * @license GNU Lesser General Public License * @package WoltLabSuite\Core\Acp\Action - * @since 3.2 + * @since 5.2 */ class AJAXFileUploadAction extends AbstractSecureAction { use TAJAXException; diff --git a/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php index 49bc645f15..a0dd65bf74 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/UploadFormField.class.php @@ -197,7 +197,7 @@ class UploadFormField extends AbstractFormField { /** * @inheritDoc * - * @throws \RuntimeException if the field has already been initalisated + * @throws \RuntimeException if the field has already been initialized */ public function maximum($maximum = null) { if ($this->isRegistered()) { @@ -232,7 +232,7 @@ class UploadFormField extends AbstractFormField { } /** - * Returns true, if the field is an image only field (only images can be uploaded). + * Returns `true` if only images can be uploaded via this field and returns `false` otherwise. * * @return boolean */ -- 2.20.1