aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Pdo.php
diff options
context:
space:
mode:
authorGravatar Frans de Jonge <fransdejonge@gmail.com> 2022-01-05 00:52:24 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-05 00:52:24 +0100
commitd339b6dd454d814ffc323fa9077b70e33339c479 (patch)
treebf82e2b4beda3958502465ef76c223175a978afd /lib/Minz/Pdo.php
parenta6ea90e58b807d18fff601135e3e697b38895ca1 (diff)
[CI] PHPCS: check for opening brace on same line (#4122)
* [CI] PHPCS: check for opening brace on same line * make fix-all * Minor comments Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'lib/Minz/Pdo.php')
-rw-r--r--lib/Minz/Pdo.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Minz/Pdo.php b/lib/Minz/Pdo.php
index 9c754be86..08436393e 100644
--- a/lib/Minz/Pdo.php
+++ b/lib/Minz/Pdo.php
@@ -14,8 +14,12 @@ abstract class Minz_Pdo extends PDO {
abstract public function dbType();
private $prefix = '';
- public function prefix() { return $this->prefix; }
- public function setPrefix($prefix) { $this->prefix = $prefix; }
+ public function prefix() {
+ return $this->prefix;
+ }
+ public function setPrefix($prefix) {
+ $this->prefix = $prefix;
+ }
private function autoPrefix($sql) {
return str_replace('`_', '`' . $this->prefix, $sql);