Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Utility/LockSqlHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/** @internal */
trait LockSqlHelper
{
private function getReadLockSQL(AbstractPlatform $platform): string
protected function getReadLockSQL(AbstractPlatform $platform): string
{
return match (true) {
$platform instanceof AbstractMySQLPlatform => 'LOCK IN SHARE MODE',
Expand All @@ -23,7 +23,7 @@ private function getReadLockSQL(AbstractPlatform $platform): string
};
}

private function getWriteLockSQL(AbstractPlatform $platform): string
protected function getWriteLockSQL(AbstractPlatform $platform): string
{
return match (true) {
$platform instanceof DB2Platform => 'WITH RR USE AND KEEP UPDATE LOCKS',
Expand Down