diff options
author | Marcel Klehr <mklehr@gmx.net> | 2024-05-03 11:46:36 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2024-05-14 11:38:40 +0200 |
commit | c9ea5375d87a90a5c25a5858aed6fdcb1b035a9f (patch) | |
tree | 7f41d162754e3bd038e8166c2078aeb97771e47b /lib/public | |
parent | 843bb62d6dd795803c9e423c4979521b70c55085 (diff) | |
download | nextcloud-server-c9ea5375d87a90a5c25a5858aed6fdcb1b035a9f.tar.gz nextcloud-server-c9ea5375d87a90a5c25a5858aed6fdcb1b035a9f.zip |
fix: Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/TaskProcessing/EShapeType.php | 1 | ||||
-rw-r--r-- | lib/public/TaskProcessing/ShapeDescriptor.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/TaskProcessing/EShapeType.php b/lib/public/TaskProcessing/EShapeType.php index 8a862fe19a1..5555671976b 100644 --- a/lib/public/TaskProcessing/EShapeType.php +++ b/lib/public/TaskProcessing/EShapeType.php @@ -50,6 +50,7 @@ enum EShapeType: int { * @param mixed $value * @return void * @throws ValidationException + * @since 30.0.0 */ private function validateNonFileType(mixed $value): void { if ($this === EShapeType::Text && !is_string($value)) { diff --git a/lib/public/TaskProcessing/ShapeDescriptor.php b/lib/public/TaskProcessing/ShapeDescriptor.php index c84a638862d..6c14bab751e 100644 --- a/lib/public/TaskProcessing/ShapeDescriptor.php +++ b/lib/public/TaskProcessing/ShapeDescriptor.php @@ -46,6 +46,7 @@ class ShapeDescriptor implements \JsonSerializable { /** * @return array{name: string, description: string, type: int} + * @since 30.0.0 */ public function jsonSerialize(): array { return [ |