@@ -204,7 +204,7 @@ |
||
204 | 204 | * @param bool $backup_original_files [optional] <p>If original files should be backed up.</p> |
205 | 205 | * @return array <p>Returns db response.</p> |
206 | 206 | */ |
207 | - public function repair($preserve_cloned_files = FALSE, $backup_original_files = FALSE) |
|
207 | + public function repair($preserve_cloned_files = false, $backup_original_files = false) |
|
208 | 208 | { |
209 | 209 | return []; |
210 | 210 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * @var MongoDB |
39 | 39 | */ |
40 | - public $db = NULL; |
|
40 | + public $db = null; |
|
41 | 41 | |
42 | 42 | /** |
43 | 43 | * @var string |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | foreach ($operators as $operator) { |
140 | 140 | $i++; |
141 | 141 | if (! is_array($operator)) { |
142 | - trigger_error("Argument $i is not an array", E_USER_WARNING); |
|
142 | + trigger_error("argument $i is not an array", E_USER_WARNING); |
|
143 | 143 | return; |
144 | 144 | } |
145 | 145 | |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | * @param bool $scan_data Only validate indices, not the base collection. |
255 | 255 | * @return array Returns the database's evaluation of this object. |
256 | 256 | */ |
257 | - public function validate($scan_data = FALSE) |
|
257 | + public function validate($scan_data = false) |
|
258 | 258 | { |
259 | 259 | $command = [ |
260 | 260 | 'validate' => $this->name, |