@@ -79,7 +79,7 @@ |
||
79 | 79 | |
80 | 80 | $result = []; |
81 | 81 | |
82 | - while($data = $cursor->fetch()) { |
|
82 | + while ($data = $cursor->fetch()) { |
|
83 | 83 | $result[] = [ |
84 | 84 | 'id' => (int)$data['id'], |
85 | 85 | 'tagid' => (int)$data['tag_id'], |
@@ -123,7 +123,7 @@ |
||
123 | 123 | |
124 | 124 | $offset = 0; |
125 | 125 | $limit = 1000; |
126 | - while(true) { |
|
126 | + while (true) { |
|
127 | 127 | $fileids = $this->tagMapper->getObjectIdsForTags($tag, 'files', $limit, $offset); |
128 | 128 | |
129 | 129 | foreach ($fileids as $fileid) { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | $container = $this->getContainer(); |
31 | 31 | $server = $container->getServer(); |
32 | 32 | |
33 | - $container->registerService('OCP\\Files\\Config\\IUserMountCache', function ($c) use ($server) { |
|
33 | + $container->registerService('OCP\\Files\\Config\\IUserMountCache', function($c) use ($server) { |
|
34 | 34 | return $server->getMountProviderCollection()->getMountCache(); |
35 | 35 | }); |
36 | 36 | } |