@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * @var MongoDB |
| 34 | 34 | */ |
| 35 | - public $db = NULL; |
|
| 35 | + public $db = null; |
|
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * @var string |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | foreach (func_get_args() as $operator) { |
| 134 | 134 | $i++; |
| 135 | 135 | if (! is_array($operator)) { |
| 136 | - trigger_error("Argument $i is not an array", E_WARNING); |
|
| 136 | + trigger_error("argument $i is not an array", E_WARNING); |
|
| 137 | 137 | return; |
| 138 | 138 | } |
| 139 | 139 | |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | * @param bool $scan_data Only validate indices, not the base collection. |
| 235 | 235 | * @return array Returns the database's evaluation of this object. |
| 236 | 236 | */ |
| 237 | - public function validate($scan_data = FALSE) |
|
| 237 | + public function validate($scan_data = false) |
|
| 238 | 238 | { |
| 239 | 239 | $command = [ |
| 240 | 240 | 'validate' => $this->name, |
@@ -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 | } |