@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * @return \OCP\AppFramework\Http\DataResponse |
63 | 63 | */ |
64 | 64 | public function getAll() { |
65 | - return $this->handleNotFound(function () { |
|
65 | + return $this->handleNotFound(function() { |
|
66 | 66 | return $this->service->getAllForPersonal($this->userId); |
67 | 67 | }); |
68 | 68 | } |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * @return \OCP\AppFramework\Http\DataResponse |
74 | 74 | */ |
75 | 75 | public function deleteStatus($id) { |
76 | - return $this->handleNotFound(function () use ($id) { |
|
76 | + return $this->handleNotFound(function() use ($id) { |
|
77 | 77 | return $this->service->deleteStatus($id, $this->userId); |
78 | 78 | }); |
79 | 79 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function run(IOutput $output) { |
46 | 46 | $output->startProgress(1); |
47 | - if ($this->connection->tableExists('ocr_status')){ |
|
47 | + if ($this->connection->tableExists('ocr_status')) { |
|
48 | 48 | $this->connection->dropTable('ocr_status'); |
49 | 49 | } |
50 | 50 | $output->advance(1, "Drop old database table: ocr_status"); |
@@ -128,7 +128,7 @@ |
||
128 | 128 | * Registers the Personal Settings Page for deletion of status objects and such things. |
129 | 129 | * @codeCoverageIgnore |
130 | 130 | */ |
131 | - public function registerPersonal(){ |
|
131 | + public function registerPersonal() { |
|
132 | 132 | \OCP\App::registerPersonal($this->getContainer()->getAppName(), 'personal'); |
133 | 133 | } |
134 | 134 |