Skip to content

Commit c8c6635

Browse files
committed
Fix phpstan
1 parent 629521b commit c8c6635

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Schema/Tables/Contracts/Table.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
use StellarWP\Schema\Columns\Contracts\Column;
1818
use StellarWP\Schema\Indexes\Contracts\Index;
1919
use Exception;
20+
use Generator;
2021
use RuntimeException;
2122

2223
/**
@@ -35,7 +36,7 @@
3536
* @method static bool|int delete_many( array $ids, string $column = '', string $more_where = '' )
3637
* @method static int get_total_items( array $args = [] )
3738
* @method static bool update_many( array $entries )
38-
* @method static array paginate( array $args, int $per_page = 20, int $page = 1, array $columns = [ '*' ], string $join_table = '', string $join_condition = '', array $selectable_joined_columns = [], string $output = OBJECT )
39+
* @method static array paginate( array $args, int $per_page = 20, int $page = 1, array $columns = [ '*' ], string $join_table = '', string $join_condition = '', array $selectable_joined_columns = [], string $output = 'OBJECT' )
3940
* @method static mixed[] get_all_by( string $column, $value, string $operator = '=', int $limit = 50 )
4041
* @method static ?mixed get_first_by( string $column, $value )
4142
* @method static ?mixed get_by_id( $id )

0 commit comments

Comments
 (0)