Skip to content

Commit 3b32604

Browse files
committed
Make Realtime Database Transactions immutable
1 parent f76b790 commit 3b32604

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

UPGRADE-8.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ The following list has been generated with [roave/backward-compatibility-check](
3434
[BC] CHANGED: Class Kreait\Firebase\Database\Reference became final
3535
[BC] CHANGED: Class Kreait\Firebase\Database\RuleSet became final
3636
[BC] CHANGED: Class Kreait\Firebase\Database\Snapshot became final
37+
[BC] CHANGED: Class Kreait\Firebase\Database\Transaction became final
3738
[BC] CHANGED: Default parameter value for parameter $code of Kreait\Firebase\Exception\Database\TransactionFailed#__construct() changed from 0 to NULL
3839
[BC] CHANGED: Default parameter value for parameter $code of Kreait\Firebase\Exception\Database\UnsupportedQuery#__construct() changed from 0 to NULL
3940
[BC] CHANGED: The number of required arguments for Kreait\Firebase\Exception\Database\UnsupportedQuery#__construct() increased from 1 to 2

src/Firebase/Database/Transaction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use function array_key_exists;
1212

13-
class Transaction
13+
final class Transaction
1414
{
1515
/**
1616
* @var array<string, string>

0 commit comments

Comments
 (0)