summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/db/statementwrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/db/statementwrapper.php')
-rw-r--r--lib/private/legacy/db/statementwrapper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/db/statementwrapper.php b/lib/private/legacy/db/statementwrapper.php
index 4512784d955..cdcf3ad951e 100644
--- a/lib/private/legacy/db/statementwrapper.php
+++ b/lib/private/legacy/db/statementwrapper.php
@@ -42,7 +42,7 @@ class OC_DB_StatementWrapper {
*/
private $statement = null;
private $isManipulation = false;
- private $lastArguments = array();
+ private $lastArguments = [];
/**
* @param boolean $isManipulation
@@ -56,7 +56,7 @@ class OC_DB_StatementWrapper {
* pass all other function directly to the \Doctrine\DBAL\Driver\Statement
*/
public function __call($name,$arguments) {
- return call_user_func_array(array($this->statement,$name), $arguments);
+ return call_user_func_array([$this->statement,$name], $arguments);
}
/**