aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/db.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/db.php')
-rw-r--r--lib/private/legacy/db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/db.php b/lib/private/legacy/db.php
index 9371e733d28..1cef0d50e04 100644
--- a/lib/private/legacy/db.php
+++ b/lib/private/legacy/db.php
@@ -121,7 +121,7 @@ class OC_DB {
. ' pass an array with \'limit\' and \'offset\' instead';
throw new \OC\DatabaseException($message);
}
- $stmt = array('sql' => $stmt, 'limit' => null, 'offset' => null);
+ $stmt = ['sql' => $stmt, 'limit' => null, 'offset' => null];
}
if (is_array($stmt)) {
// convert to prepared statement