@@ -13,6 +13,7 @@ |
||
| 13 | 13 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -class MongoConnectionException extends MongoException { |
|
| 16 | +class MongoConnectionException extends MongoException |
|
| 17 | +{ |
|
| 17 | 18 | |
| 18 | 19 | } |
@@ -13,6 +13,7 @@ |
||
| 13 | 13 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -class MongoCursorException extends MongoException { |
|
| 16 | +class MongoCursorException extends MongoException |
|
| 17 | +{ |
|
| 17 | 18 | |
| 18 | 19 | } |
@@ -13,6 +13,7 @@ |
||
| 13 | 13 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -class MongoCursorTimeoutException extends MongoCursorException { |
|
| 16 | +class MongoCursorTimeoutException extends MongoCursorException |
|
| 17 | +{ |
|
| 17 | 18 | |
| 18 | 19 | } |
@@ -17,6 +17,7 @@ |
||
| 17 | 17 | * <p>(PECL mongo >= 1.5.0)</p> |
| 18 | 18 | * @link http://php.net/manual/en/class.mongoduplicatekeyexception.php |
| 19 | 19 | */ |
| 20 | -class MongoDuplicateKeyException extends MongoWriteConcernException { |
|
| 20 | +class MongoDuplicateKeyException extends MongoWriteConcernException |
|
| 21 | +{ |
|
| 21 | 22 | |
| 22 | 23 | } |
@@ -13,5 +13,6 @@ |
||
| 13 | 13 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -class MongoException extends Exception { |
|
| 16 | +class MongoException extends Exception |
|
| 17 | +{ |
|
| 17 | 18 | } |
@@ -17,4 +17,6 @@ |
||
| 17 | 17 | * <p>(PECL mongo >= 1.5.0)</p> |
| 18 | 18 | * @link http://php.net/manual/en/class.mongoexecutiontimeoutexception.php |
| 19 | 19 | */ |
| 20 | -class MongoExecutionTimeoutException extends MongoException {} |
|
| 20 | +class MongoExecutionTimeoutException extends MongoException |
|
| 21 | +{ |
|
| 22 | +} |
|
@@ -13,6 +13,7 @@ |
||
| 13 | 13 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -class MongoGridFSException extends MongoException { |
|
| 16 | +class MongoGridFSException extends MongoException |
|
| 17 | +{ |
|
| 17 | 18 | |
| 18 | 19 | } |
@@ -13,7 +13,8 @@ discard block |
||
| 13 | 13 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -class MongoLog { |
|
| 16 | +class MongoLog |
|
| 17 | +{ |
|
| 17 | 18 | /** |
| 18 | 19 | * @link http://php.net/manual/en/class.mongolog.php#mongolog.constants.none |
| 19 | 20 | */ |
@@ -99,7 +100,9 @@ discard block |
||
| 99 | 100 | * <ul> |
| 100 | 101 | * @return boolean Returns <b>TRUE</b> on success or <b>FALSE</b> on failure. |
| 101 | 102 | */ |
| 102 | - public static function setCallback ( callable $log_function ) {} |
|
| 103 | + public static function setCallback ( callable $log_function ) |
|
| 104 | + { |
|
| 105 | +} |
|
| 103 | 106 | |
| 104 | 107 | /** |
| 105 | 108 | * This function can be used to set how verbose logging should be and the types of |
@@ -111,7 +114,9 @@ discard block |
||
| 111 | 114 | * @param int $level The levels you would like to log |
| 112 | 115 | * @return void |
| 113 | 116 | */ |
| 114 | - public static function setLevel($level) {} |
|
| 117 | + public static function setLevel($level) |
|
| 118 | + { |
|
| 119 | +} |
|
| 115 | 120 | |
| 116 | 121 | /** |
| 117 | 122 | * This can be used to see the log level. Use the constants described in the |
@@ -121,7 +126,9 @@ discard block |
||
| 121 | 126 | * @static |
| 122 | 127 | * @return int Returns the current level |
| 123 | 128 | */ |
| 124 | - public static function getLevel() {} |
|
| 129 | + public static function getLevel() |
|
| 130 | + { |
|
| 131 | +} |
|
| 125 | 132 | |
| 126 | 133 | /** |
| 127 | 134 | * This function can be used to set which parts of the driver's functionality |
@@ -133,7 +140,9 @@ discard block |
||
| 133 | 140 | * @param int $module The module(s) you would like to log |
| 134 | 141 | * @return void |
| 135 | 142 | */ |
| 136 | - public static function setModule($module) {} |
|
| 143 | + public static function setModule($module) |
|
| 144 | + { |
|
| 145 | +} |
|
| 137 | 146 | |
| 138 | 147 | /** |
| 139 | 148 | * This function can be used to see which parts of the driver's functionality are |
@@ -144,5 +153,7 @@ discard block |
||
| 144 | 153 | * @static |
| 145 | 154 | * @return int Returns the modules currently being logged |
| 146 | 155 | */ |
| 147 | - public static function getModule() {} |
|
| 156 | + public static function getModule() |
|
| 157 | + { |
|
| 158 | +} |
|
| 148 | 159 | } |
@@ -16,4 +16,6 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * <p>(PECL mongo >= 1.5.0)</p> |
| 18 | 18 | */ |
| 19 | -class MongoProtocolException extends MongoException {} |
|
| 19 | +class MongoProtocolException extends MongoException |
|
| 20 | +{ |
|
| 21 | +} |
|