@@ -27,8 +27,7 @@ |
||
27 | 27 | |
28 | 28 | use OCA\CMSPico\Events\UserEvents; |
29 | 29 | |
30 | -class UserHooks |
|
31 | -{ |
|
30 | +class UserHooks { |
|
32 | 31 | /** |
33 | 32 | * @param array $params |
34 | 33 | */ |
@@ -28,8 +28,7 @@ |
||
28 | 28 | use OCA\CMSPico\Exceptions\WebsiteNotFoundException; |
29 | 29 | use OCA\CMSPico\Model\Website; |
30 | 30 | |
31 | -class WebsitesRequest extends WebsitesRequestBuilder |
|
32 | -{ |
|
31 | +class WebsitesRequest extends WebsitesRequestBuilder { |
|
33 | 32 | /** |
34 | 33 | * @param Website $website |
35 | 34 | */ |
@@ -29,8 +29,7 @@ |
||
29 | 29 | use OCP\DB\QueryBuilder\IQueryBuilder; |
30 | 30 | use OCP\IDBConnection; |
31 | 31 | |
32 | -class CoreRequestBuilder |
|
33 | -{ |
|
32 | +class CoreRequestBuilder { |
|
34 | 33 | /** @var string */ |
35 | 34 | const TABLE_WEBSITES = 'cms_pico_websites'; |
36 | 35 |
@@ -35,8 +35,7 @@ |
||
35 | 35 | use OCP\Migration\IOutput; |
36 | 36 | use OCP\Migration\IRepairStep; |
37 | 37 | |
38 | -class AppDataRepairStep implements IRepairStep |
|
39 | -{ |
|
38 | +class AppDataRepairStep implements IRepairStep { |
|
40 | 39 | /** @var ILogger */ |
41 | 40 | private $logger; |
42 | 41 |
@@ -237,7 +237,7 @@ |
||
237 | 237 | */ |
238 | 238 | private function log(string $message, int $level = ILogger::DEBUG) |
239 | 239 | { |
240 | - $this->logger->log($level, $message, [ 'app' => Application::APP_NAME ]); |
|
240 | + $this->logger->log($level, $message, ['app' => Application::APP_NAME]); |
|
241 | 241 | } |
242 | 242 | |
243 | 243 | /** |
@@ -32,8 +32,7 @@ |
||
32 | 32 | use OCP\Files\NotFoundException; |
33 | 33 | use OCP\Files\NotPermittedException; |
34 | 34 | |
35 | -abstract class AbstractLocalNode extends AbstractNode implements NodeInterface |
|
36 | -{ |
|
35 | +abstract class AbstractLocalNode extends AbstractNode implements NodeInterface { |
|
37 | 36 | /** @var string */ |
38 | 37 | protected $path; |
39 | 38 |
@@ -27,8 +27,7 @@ |
||
27 | 27 | use OCP\Files\GenericFileException; |
28 | 28 | use OCP\Files\NotPermittedException; |
29 | 29 | |
30 | -interface FileInterface extends NodeInterface |
|
31 | -{ |
|
30 | +interface FileInterface extends NodeInterface { |
|
32 | 31 | /** |
33 | 32 | * @return string |
34 | 33 | */ |
@@ -30,8 +30,7 @@ |
||
30 | 30 | use OCP\Files\NotFoundException; |
31 | 31 | use OCP\Files\NotPermittedException; |
32 | 32 | |
33 | -interface FolderInterface extends NodeInterface |
|
34 | -{ |
|
33 | +interface FolderInterface extends NodeInterface { |
|
35 | 34 | /** @var bool */ |
36 | 35 | const SYNC_SHALLOW = false; |
37 | 36 |
@@ -33,8 +33,7 @@ |
||
33 | 33 | use OCP\IDBConnection; |
34 | 34 | use OCP\ILogger; |
35 | 35 | |
36 | -class StorageFolder extends AbstractStorageNode implements FolderInterface |
|
37 | -{ |
|
36 | +class StorageFolder extends AbstractStorageNode implements FolderInterface { |
|
38 | 37 | /** @var OCFolder */ |
39 | 38 | protected $node; |
40 | 39 |
@@ -125,6 +125,6 @@ |
||
125 | 125 | */ |
126 | 126 | public function getPermissions(): int |
127 | 127 | { |
128 | - return Constants::PERMISSION_READ | Constants::PERMISSION_UPDATE | Constants::PERMISSION_DELETE; |
|
128 | + return Constants::PERMISSION_READ|Constants::PERMISSION_UPDATE|Constants::PERMISSION_DELETE; |
|
129 | 129 | } |
130 | 130 | } |
@@ -29,8 +29,7 @@ |
||
29 | 29 | use OCP\Files\InvalidPathException; |
30 | 30 | use OCP\Files\NotFoundException; |
31 | 31 | |
32 | -class MemoryFile extends AbstractNode implements FileInterface |
|
33 | -{ |
|
32 | +class MemoryFile extends AbstractNode implements FileInterface { |
|
34 | 33 | /** @var string */ |
35 | 34 | private $path; |
36 | 35 |