summaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework/Db/MapperTestUtility.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-05 15:12:57 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-10-05 20:25:24 +0200
commitd9015a8c94bfd71fe484618a06d276701d3bf9ff (patch)
tree3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /tests/lib/AppFramework/Db/MapperTestUtility.php
parentd357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff)
downloadnextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.tar.gz
nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.zip
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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++;