Skip to content

Commit

Permalink
findAll fix returnAsArray = false
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Jan 9, 2024
1 parent d1d5934 commit 7c36256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractInterface/AbstractEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ public static function findRecord(callable|array|string|int $queryLimit, string
return null;
}

public static function findAll(array|callable|string|null $queryLimit, string $tableName = null, bool $returnAsArray = true):mixed
public static function findAll(array|callable|string|null $queryLimit, string $tableName = null, bool $returnAsArray = false):mixed
{
$entity = new static();
if (empty($tableName)) {
Expand Down

0 comments on commit 7c36256

Please sign in to comment.