File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public static function hintNotSupported(): self
47
47
*/
48
48
public static function readConcernNotSupportedInTransaction (): self
49
49
{
50
- return new self ('The "readConcern" option cannot be specified within a transaction. Instead, specify it when starting the transaction. ' );
50
+ return new self ('Cannot set read concern after starting a transaction. Instead, specify the "readConcern" option when starting the transaction. ' );
51
51
}
52
52
53
53
/**
@@ -57,6 +57,6 @@ public static function readConcernNotSupportedInTransaction(): self
57
57
*/
58
58
public static function writeConcernNotSupportedInTransaction (): self
59
59
{
60
- return new self ('The "writeConcern" option cannot be specified within a transaction. Instead, specify it when starting the transaction. ' );
60
+ return new self ('Cannot set write concern after starting a transaction. Instead, specify the "writeConcern" option when starting the transaction. ' );
61
61
}
62
62
}
You can’t perform that action at this time.
0 commit comments