Skip to content

Commit

Permalink
Update szepeviktor/phpstan-wordpress including all dependencies
Browse files Browse the repository at this point in the history
Also fix reported issues (incl. revert of 7931bb2).
  • Loading branch information
chesio committed Mar 1, 2024
1 parent e81bd78 commit cab6b8d
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 32 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<string,mixed>
* @return array<int,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<string,mixed>
* @return array<int,array<string,mixed>>
*/
public function fetch(?string $event = null, int $from = 0, int $limit = 20, string $order_by = '', string $order = ''): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function (array $matches) use (&$urls): string {
$links_index = \array_map(
fn (int $index, string $url): string => \sprintf('[%d] %s', $index + 1, $url),
\array_keys($urls),
\array_values($urls)
$urls
);

// ...and add it to the message.
Expand Down
55 changes: 26 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cab6b8d

Please sign in to comment.