Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Bestle <[email protected]>
distantnative and lukasbestle authored Jun 23, 2024

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
1 parent 9d15a95 commit c691ecc
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Api/Upload.php
Original file line number Diff line number Diff line change
@@ -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) &&
(
2 changes: 1 addition & 1 deletion src/Panel/Panel.php
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c691ecc

Please sign in to comment.