Skip to content

Commit 3d9cfd4

Browse files
committed
Fixed compatibility with PHP 8.0
1 parent 25693ba commit 3d9cfd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
10+
php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
1111

1212
fail-fast: false
1313

src/ForeignKey.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ForeignKey
3535
* @param string
3636
* @param string[]|string
3737
*/
38-
public function __construct($name, $columns = [], $targetTable, $targetColumns = [])
38+
public function __construct($name, $columns, $targetTable, $targetColumns)
3939
{
4040
$this->name = $name;
4141
$this->setTargetTable($targetTable);

0 commit comments

Comments
 (0)