From c691ecc10acb50a03866e3b7b78d1dd380f8edca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20Hoffmann=20=20=E0=B7=B4?= Date: Sun, 23 Jun 2024 22:24:51 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Lukas Bestle --- src/Api/Upload.php | 4 ++-- src/Panel/Panel.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Api/Upload.php b/src/Api/Upload.php index 84dc55cff8..512c656404 100644 --- a/src/Api/Upload.php +++ b/src/Api/Upload.php @@ -26,7 +26,7 @@ * @link https://getkirby.com * @copyright Bastian Allgeier * @license https://getkirby.com/license - * @since 4.3.0 + * @since 4.4.0 * @internal */ class Upload @@ -349,7 +349,7 @@ protected static function validateChunk( // if the blueprint `maxsize` option is set, // ensure that the total size communicated in the header // as well as the current tmp size after adding this chunk - // does not exceed the max limit + // do not exceed the max limit if ( ($max = $file->blueprint()->accept()['maxsize'] ?? null) && ( diff --git a/src/Panel/Panel.php b/src/Panel/Panel.php index 7b0e525642..aa115417c4 100644 --- a/src/Panel/Panel.php +++ b/src/Panel/Panel.php @@ -142,7 +142,7 @@ public static function firewall( * Garbage collection which runs with a probability * of 10% on each Panel request * - * @since 4.3.0 + * @since 4.4.0 * @codeCoverageIgnore */ protected static function garbage(): void