@@ -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 | +} |
@@ -36,27 +36,35 @@ |
||
36 | 36 | * @param array $fields Fields to return |
37 | 37 | * @return MongoGridFSCursor Returns the new cursor |
38 | 38 | */ |
39 | - public function __construct($gridfs, $connection, $ns, $query, $fields) {} |
|
39 | + public function __construct($gridfs, $connection, $ns, $query, $fields) |
|
40 | + { |
|
41 | +} |
|
40 | 42 | |
41 | 43 | /** |
42 | 44 | * Return the next file to which this cursor points, and advance the cursor |
43 | 45 | * @link http://php.net/manual/en/mongogridfscursor.getnext.php |
44 | 46 | * @return MongoGridFSFile Returns the next file |
45 | 47 | */ |
46 | - public function getNext() {} |
|
48 | + public function getNext() |
|
49 | + { |
|
50 | +} |
|
47 | 51 | |
48 | 52 | /** |
49 | 53 | * Returns the current file |
50 | 54 | * @link http://php.net/manual/en/mongogridfscursor.current.php |
51 | 55 | * @return MongoGridFSFile The current file |
52 | 56 | */ |
53 | - public function current() {} |
|
57 | + public function current() |
|
58 | + { |
|
59 | +} |
|
54 | 60 | |
55 | 61 | /** |
56 | 62 | * Returns the current result's filename |
57 | 63 | * @link http://php.net/manual/en/mongogridfscursor.key.php |
58 | 64 | * @return string The current results filename |
59 | 65 | */ |
60 | - public function key() {} |
|
66 | + public function key() |
|
67 | + { |
|
68 | +} |
|
61 | 69 | |
62 | 70 | } |
@@ -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 | } |