Skip to content

Commit

Permalink
Correct these args.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Nov 10, 2022
1 parent 7724c5f commit 8ee174c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/paginate_links.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ class paginate_links extends Shared\Base {
*
* Default '« Previous'.
*/
public bool $prev_text;
public string $prev_text;

/**
* The next page text.
*
* Default 'Next »'.
*/
public bool $next_text;
public string $next_text;

/**
* Controls format of the returned value. Possible values are 'plain', 'array' and 'list'.
Expand Down
4 changes: 2 additions & 2 deletions tests/shapes/paginate_links.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ int $current
int $end_size
string $format
int $mid_size
bool $next_text
string $next_text
bool $prev_next
bool $prev_text
string $prev_text
bool $show_all
int $total
string $type

0 comments on commit 8ee174c

Please sign in to comment.