@@ -18,13 +18,16 @@ |
||
18 | 18 | * @link http://php.net/manual/en/class.mongoresultexception.php#mongoresultexception.props.document |
19 | 19 | * |
20 | 20 | */ |
21 | -class MongoResultException extends MongoException { |
|
21 | +class MongoResultException extends MongoException |
|
22 | +{ |
|
22 | 23 | /** |
23 | 24 | * Retrieve the full result document |
24 | 25 | * http://php.net/manual/en/mongoresultexception.getdocument.php |
25 | 26 | * @return array <p>The full result document as an array, including partial data if available and additional keys.</p> |
26 | 27 | */ |
27 | - public function getDocument () {} |
|
28 | + public function getDocument () |
|
29 | + { |
|
30 | +} |
|
28 | 31 | |
29 | 32 | public $document; |
30 | 33 |
@@ -17,11 +17,14 @@ |
||
17 | 17 | * <p>(PECL mongo >= 1.5.0)</p> |
18 | 18 | * @link http://php.net/manual/en/class.mongowriteconcernexception.php#class.mongowriteconcernexception |
19 | 19 | */ |
20 | -class MongoWriteConcernException extends MongoCursorException { |
|
20 | +class MongoWriteConcernException extends MongoCursorException |
|
21 | +{ |
|
21 | 22 | /** |
22 | 23 | * Get the error document |
23 | 24 | * @link http://php.net/manual/en/mongowriteconcernexception.getdocument.php |
24 | 25 | * @return array <p>A MongoDB document, if available, as an array.</p> |
25 | 26 | */ |
26 | - public function getDocument() {} |
|
27 | + public function getDocument() |
|
28 | + { |
|
29 | +} |
|
27 | 30 | } |