Skip to content

Commit

Permalink
Fixed compatibility with PHP 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed Jan 6, 2021
1 parent 25693ba commit 3d9cfd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']

fail-fast: false

Expand Down
2 changes: 1 addition & 1 deletion src/ForeignKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ForeignKey
* @param string
* @param string[]|string
*/
public function __construct($name, $columns = [], $targetTable, $targetColumns = [])
public function __construct($name, $columns, $targetTable, $targetColumns)
{
$this->name = $name;
$this->setTargetTable($targetTable);
Expand Down

0 comments on commit 3d9cfd4

Please sign in to comment.