Skip to content

Commit

Permalink
Fix node project get list return type (#615)
Browse files Browse the repository at this point in the history
* make nodeproject get list return not only arrays

* change php doc definition of getList function
  • Loading branch information
davidbeig committed Jul 16, 2024
1 parent f3af8a7 commit af660b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Goteo/Model/Node/NodeProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ static public function get($id): NodeProject
}

/**
* @return NodeProject[]
* @return NodeProject[] | int
*/
static public function getList(array $filters = [], int $offset = 0, int $limit = 10, bool $count = false, string $lang = null): array
static public function getList(array $filters = [], int $offset = 0, int $limit = 10, bool $count = false, string $lang = null)
{
$filter = [];
$values = [];
Expand Down

0 comments on commit af660b6

Please sign in to comment.