Skip to content

Commit 0390c06

Browse files
authored
Merge pull request #57879 from nextcloud/carl/fix-type-entity
doc(Entity): Add type for getUpdatedField in doc
2 parents ef226e9 + c04c320 commit 0390c06

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/public/AppFramework/Db/Entity.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
abstract class Entity {
2222
/** @var int $id */
2323
public $id;
24+
/** @var array<string, true> $_updatedFields */
2425
private array $_updatedFields = [];
25-
/** @psalm-param $_fieldTypes array<string, Types::*> */
26+
/** @var array<string, Types::*> $_fieldTypes */
2627
protected array $_fieldTypes = ['id' => 'integer'];
2728

2829
/**
@@ -251,7 +252,7 @@ public function propertyToColumn(string $property): string {
251252

252253

253254
/**
254-
* @return array array of updated fields for update query
255+
* @return array<string, true> array of updated fields for update query
255256
* @since 7.0.0
256257
*/
257258
public function getUpdatedFields(): array {

0 commit comments

Comments
 (0)