Skip to content

Narrow Join::join() $columns parameter to array|string#155

Merged
tyrsson merged 1 commit into
php-db:0.6.xfrom
simon-mundy:fix/154-join-columns-type
Jul 8, 2026
Merged

Narrow Join::join() $columns parameter to array|string#155
tyrsson merged 1 commit into
php-db:0.6.xfrom
simon-mundy:fix/154-join-columns-type

Conversation

@simon-mundy

@simon-mundy simon-mundy commented Jul 8, 2026

Copy link
Copy Markdown
Member

Fixes #154

Removes int from the accepted types for the $columns parameter of Join::join(), narrowing the signature from array|int|string to array|string.

Removes int from the accepted types for $columns, aligning the
signature with Select::join() which only accepts array|string.

Fixes php-db#154
@simon-mundy simon-mundy self-assigned this Jul 8, 2026
@simon-mundy simon-mundy added the bug Something isn't working label Jul 8, 2026
@github-project-automation github-project-automation Bot moved this to Todo in @phpdb Jul 8, 2026
@simon-mundy simon-mundy added this to the 0.6.0 milestone Jul 8, 2026
@tyrsson tyrsson merged commit e037464 into php-db:0.6.x Jul 8, 2026
1 of 13 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in @phpdb Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Join::join() $columns parameter should not accept int.

2 participants