summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-01-13 09:51:04 +0100
committerGitHub <noreply@github.com>2022-01-13 09:51:04 +0100
commit89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9 (patch)
tree76e56e0afc214eb0d9542b22e382c22fd77ae4b9 /lib/private/legacy
parent7d5a63ab216347e412dc285667026eb66715cbf9 (diff)
parent6312c0df6949955d1cd59c3dd444268e0773293c (diff)
downloadnextcloud-server-89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9.tar.gz
nextcloud-server-89d109a4d9a9c471f9dde7d5bd12a60ca91fe1f9.zip
Merge pull request #30508 from nextcloud/fix/psaml-bin
Fix psalm not running
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_DB.php2
-rw-r--r--lib/private/legacy/OC_DB_StatementWrapper.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/OC_DB.php b/lib/private/legacy/OC_DB.php
index 1fbc233f535..39faf8e80aa 100644
--- a/lib/private/legacy/OC_DB.php
+++ b/lib/private/legacy/OC_DB.php
@@ -42,7 +42,7 @@ class OC_DB {
*
* SQL query via Doctrine prepare(), needs to be execute()'d!
*/
- public static function prepare($query , $limit = null, $offset = null, $isManipulation = null) {
+ public static function prepare($query, $limit = null, $offset = null, $isManipulation = null) {
$connection = \OC::$server->getDatabaseConnection();
if ($isManipulation === null) {
diff --git a/lib/private/legacy/OC_DB_StatementWrapper.php b/lib/private/legacy/OC_DB_StatementWrapper.php
index d8e8f0ae37f..d6214a49a33 100644
--- a/lib/private/legacy/OC_DB_StatementWrapper.php
+++ b/lib/private/legacy/OC_DB_StatementWrapper.php
@@ -59,7 +59,7 @@ class OC_DB_StatementWrapper {
/**
* pass all other function directly to the \Doctrine\DBAL\Driver\Statement
*/
- public function __call($name,$arguments) {
+ public function __call($name, $arguments) {
return call_user_func_array([$this->statement,$name], $arguments);
}