diff --git a/src/Database/Driver/Mysql.php b/src/Database/Driver/Mysql.php index 29876749e2d..dc58848b250 100644 --- a/src/Database/Driver/Mysql.php +++ b/src/Database/Driver/Mysql.php @@ -119,5 +119,4 @@ public function prepare($query) } return $result; } - } diff --git a/src/Database/Statement/MysqlStatement.php b/src/Database/Statement/MysqlStatement.php index 76ae00ef249..616e5486adf 100644 --- a/src/Database/Statement/MysqlStatement.php +++ b/src/Database/Statement/MysqlStatement.php @@ -24,7 +24,7 @@ class MysqlStatement extends PDOStatement { - /** + /** * Whether or not to buffer results in php * * @var bool @@ -43,7 +43,7 @@ public function execute($params = null) return $result; } - /** + /** * Whether or not to buffer results in php * * @param bool $buffer Toggle buffering diff --git a/src/Database/Statement/StatementDecorator.php b/src/Database/Statement/StatementDecorator.php index 22d60db6cc7..275c2c0987b 100644 --- a/src/Database/Statement/StatementDecorator.php +++ b/src/Database/Statement/StatementDecorator.php @@ -304,7 +304,8 @@ public function lastInsertId($table = null, $column = null) * * @return \Cake\Database\StatementInterface */ - public function getInnerStatement() { + public function getInnerStatement() + { return $this->_statement; } } diff --git a/tests/TestCase/Database/QueryTest.php b/tests/TestCase/Database/QueryTest.php index c423137887d..94bf89de828 100644 --- a/tests/TestCase/Database/QueryTest.php +++ b/tests/TestCase/Database/QueryTest.php @@ -3136,7 +3136,8 @@ public function testSqlCaseStatement() * * @return void */ - public function testUnbufferedQuery() { + public function testUnbufferedQuery() + { $query = new Query($this->connection); $result = $query->select(['body', 'author_id']) ->from('articles')