Skip to content

Commit cbbef11

Browse files
committed
pull main
1 parent 13a6687 commit cbbef11

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Database/Adapter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,14 +1444,14 @@ abstract public function getSupportForIntegerBooleans(): bool;
14441444
abstract public function getSupportForAlterLocks(): bool;
14451445

14461446
/**
1447-
* @param bool $bool
1447+
* @param bool $enable
14481448
*
14491449
* @return $this
14501450
* @throws Exception
14511451
*/
1452-
public function enableLocks(bool $bool): self
1452+
public function enableAlterLocks(bool $enable): self
14531453
{
1454-
$this->alterLocks = $bool;
1454+
$this->alterLocks = $enable;
14551455

14561456
return $this;
14571457
}

src/Database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ public function setSharedTables(bool $sharedTables): static
11591159
public function enableLocks(bool $bool): static
11601160
{
11611161
if ($this->adapter->getSupportForAlterLocks()) {
1162-
$this->adapter->enableLocks($bool);
1162+
$this->adapter->enableAlterLocks($bool);
11631163
}
11641164

11651165
return $this;

0 commit comments

Comments
 (0)