Merge pull request #57879 from nextcloud/carl/fix-type-entity

doc(Entity): Add type for getUpdatedField in doc
pull/57890/head
Carl Schwan 4 months ago committed by GitHub
commit 0390c067ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      lib/public/AppFramework/Db/Entity.php

@ -21,8 +21,9 @@ use function substr;
abstract class Entity {
/** @var int $id */
public $id;
/** @var array<string, true> $_updatedFields */
private array $_updatedFields = [];
/** @psalm-param $_fieldTypes array<string, Types::*> */
/** @var array<string, Types::*> $_fieldTypes */
protected array $_fieldTypes = ['id' => 'integer'];
/**
@ -251,7 +252,7 @@ abstract class Entity {
/**
* @return array array of updated fields for update query
* @return array<string, true> array of updated fields for update query
* @since 7.0.0
*/
public function getUpdatedFields(): array {

Loading…
Cancel
Save