Skip to content

Commit 2585be4

Browse files
authored
PHPC-2496: WriteException stub should inherit ServerException (#1769)
1 parent 787f301 commit 2585be4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/MongoDB/Exception/WriteException.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace MongoDB\Driver\Exception;
99

1010
/** @deprecated use MongoDB\Driver\Exception\BulkWriteException instead */
11-
abstract class WriteException extends RuntimeException
11+
abstract class WriteException extends ServerException
1212
{
1313
/** @var \MongoDB\Driver\WriteResult */
1414
protected $writeResult;

src/MongoDB/Exception/WriteException_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)