Skip to content

Commit

Permalink
Fix return types to match recent changes in WordPress stubs
Browse files Browse the repository at this point in the history
Credits go to @szepeviktor :-)
  • Loading branch information
chesio committed Feb 1, 2024
1 parent 5d78a76 commit 7931bb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function countFrom(int $timestamp): int
* @param string $order_by
* @param string $order
*
* @return array<int,array<string,string>>
* @return array<string,mixed>
*/
public function fetch(Scope $access_scope = Scope::ANY, int $from = 0, int $limit = 20, string $order_by = '', string $order = ''): array
{
Expand Down
2 changes: 1 addition & 1 deletion classes/BlueChip/Security/Modules/Log/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function countFrom(int $timestamp): int
* @param string $order_by [optional] Column name to order the records by.
* @param string $order [optional] Order direction, either "asc" or "desc".
*
* @return array<int,array<string,mixed>>
* @return array<string,mixed>
*/
public function fetch(?string $event = null, int $from = 0, int $limit = 20, string $order_by = '', string $order = ''): array
{
Expand Down

0 comments on commit 7931bb2

Please sign in to comment.