From d9015a8c94bfd71fe484618a06d276701d3bf9ff Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 5 Oct 2020 15:12:57 +0200 Subject: Format code to a single space around binary operators Signed-off-by: Christoph Wurst --- apps/federation/lib/DbHandler.php | 2 +- apps/federation/tests/Controller/OCSAuthAPIControllerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/federation') diff --git a/apps/federation/lib/DbHandler.php b/apps/federation/lib/DbHandler.php index 365a70e2b74..c30bbf51ad8 100644 --- a/apps/federation/lib/DbHandler.php +++ b/apps/federation/lib/DbHandler.php @@ -77,7 +77,7 @@ class DbHandler { $query->insert($this->dbTable) ->values( [ - 'url' => $query->createParameter('url'), + 'url' => $query->createParameter('url'), 'url_hash' => $query->createParameter('url_hash'), ] ) diff --git a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php index 80d83abdda0..b7bad3aaf35 100644 --- a/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php +++ b/apps/federation/tests/Controller/OCSAuthAPIControllerTest.php @@ -181,7 +181,7 @@ class OCSAuthAPIControllerTest extends TestCase { try { $result = $ocsAuthApi->getSharedSecret($url, $token); $this->assertTrue($ok); - $data = $result->getData(); + $data = $result->getData(); $this->assertSame('secret', $data['sharedSecret']); } catch (OCSForbiddenException $e) { $this->assertFalse($ok); -- cgit v1.2.3