Update php codestyle

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-12-28 13:05:54 +01:00
parent 1eabb3ee2a
commit 7cc9cf26ef
13 changed files with 27 additions and 27 deletions

View File

@@ -74,7 +74,7 @@ class AclMapperTest extends MapperTestUtility {
}
}
/** @return Acl */
public function getAcl($type='user', $participant='admin', $edit=false, $share=false, $manage=false, $boardId=123) {
public function getAcl($type = 'user', $participant = 'admin', $edit = false, $share = false, $manage = false, $boardId = 123) {
$acl = new Acl();
$acl->setParticipant($participant);
$acl->setType('user');

View File

@@ -86,7 +86,7 @@ class BoardMapperTest extends MapperTestUtility {
}
}
/** @return Acl */
public function getAcl($type='user', $participant='admin', $edit=false, $share=false, $manage=false, $boardId=123) {
public function getAcl($type = 'user', $participant = 'admin', $edit = false, $share = false, $manage = false, $boardId = 123) {
$acl = new Acl();
$acl->setParticipant($participant);
$acl->setType('user');

View File

@@ -36,7 +36,7 @@ class RelationalEntityTest extends \Test\TestCase {
$entity = new RelationalEntity();
$entity->foo = null;
$entity->setFoo('test');
$this->assertEquals(['foo'=>true], $entity->getUpdatedFields());
$this->assertEquals(['foo' => true], $entity->getUpdatedFields());
}
public function testJsonSerialize() {