aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Db/MapperTestUtility.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/AppFramework/Db/MapperTestUtility.php')
-rw-r--r--tests/lib/AppFramework/Db/MapperTestUtility.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/AppFramework/Db/MapperTestUtility.php b/tests/lib/AppFramework/Db/MapperTestUtility.php
index 1224e6d24ed..b25ff9f3e16 100644
--- a/tests/lib/AppFramework/Db/MapperTestUtility.php
+++ b/tests/lib/AppFramework/Db/MapperTestUtility.php
@@ -88,8 +88,8 @@ abstract class MapperTestUtility extends \Test\TestCase {
* of the database query. If not provided, it wont be assumed that fetch
* will be called on the result
*/
- protected function setMapperResult($sql, $arguments=[], $returnRows=[],
- $limit=null, $offset=null, $expectClose=false) {
+ protected function setMapperResult($sql, $arguments = [], $returnRows = [],
+ $limit = null, $offset = null, $expectClose = false) {
if ($limit === null && $offset === null) {
$this->db->expects($this->at($this->prepareAt))
->method('prepare')
@@ -164,7 +164,7 @@ abstract class MapperTestUtility extends \Test\TestCase {
$this->query->expects($this->at($this->queryAt))
->method('execute')
- ->willReturnCallback(function ($sql, $p=null, $o=null, $s=null) {
+ ->willReturnCallback(function ($sql, $p = null, $o = null, $s = null) {
});
$this->queryAt++;