diff --git a/src/paginate_links.php b/src/paginate_links.php index 8dae321..93de776 100644 --- a/src/paginate_links.php +++ b/src/paginate_links.php @@ -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'. diff --git a/tests/shapes/paginate_links.txt b/tests/shapes/paginate_links.txt index f609694..897c34e 100644 --- a/tests/shapes/paginate_links.txt +++ b/tests/shapes/paginate_links.txt @@ -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