@@ -77,6 +77,9 @@ discard block |
||
77 | 77 | return \OC::$server->getURLGenerator()->linkToRoute('core_ajax_preview', ['x' => 32, 'y' => 32, 'file' => $path]); |
78 | 78 | } |
79 | 79 | |
80 | + /** |
|
81 | + * @param string $path |
|
82 | + */ |
|
80 | 83 | public static function publicPreviewIcon( $path, $token ) { |
81 | 84 | return \OC::$server->getURLGenerator()->linkToRoute('core_ajax_public_preview', ['x' => 32, 'y' => 32, 'file' => $path, 't' => $token]); |
82 | 85 | } |
@@ -591,7 +594,7 @@ discard block |
||
591 | 594 | * |
592 | 595 | * @param string $path |
593 | 596 | * @param \OCP\Files\FileInfo $rootInfo (optional) |
594 | - * @return array |
|
597 | + * @return string |
|
595 | 598 | * @throws \OCP\Files\NotFoundException |
596 | 599 | */ |
597 | 600 | public static function getStorageInfo($path, $rootInfo = null) { |
@@ -278,6 +278,11 @@ |
||
278 | 278 | */ |
279 | 279 | // FIXME This method is only public, until OC_L10N does not need it anymore, |
280 | 280 | // FIXME This is also the reason, why it is not in the public interface |
281 | + |
|
282 | + /** |
|
283 | + * @param string|boolean $app |
|
284 | + * @param string|null $lang |
|
285 | + */ |
|
281 | 286 | public function getL10nFilesForApp($app, $lang) { |
282 | 287 | $languageFiles = []; |
283 | 288 |
@@ -176,7 +176,7 @@ |
||
176 | 176 | * Returns an associative array with all translations |
177 | 177 | * |
178 | 178 | * Called by \OC_L10N_String |
179 | - * @return array |
|
179 | + * @return string[] |
|
180 | 180 | */ |
181 | 181 | public function getTranslations() { |
182 | 182 | return $this->translations; |
@@ -162,7 +162,7 @@ |
||
162 | 162 | /** |
163 | 163 | * Set the BCC recipients of this message. |
164 | 164 | * |
165 | - * @param array $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
165 | + * @param string[] $recipients Example: array('[email protected]', '[email protected]' => 'A name') |
|
166 | 166 | * @return $this |
167 | 167 | */ |
168 | 168 | public function setBcc(array $recipients) { |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * Set a value in the cache if it's not already stored |
156 | 156 | * |
157 | 157 | * @param string $key |
158 | - * @param mixed $value |
|
158 | + * @param integer $value |
|
159 | 159 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
160 | 160 | * @return bool |
161 | 161 | * @throws \Exception |
@@ -923,7 +923,7 @@ |
||
923 | 923 | * @param int $previewWidth |
924 | 924 | * @param int $previewHeight |
925 | 925 | * |
926 | - * @return int[] |
|
926 | + * @return double[] |
|
927 | 927 | */ |
928 | 928 | private function scale($image, $askedWidth, $askedHeight, $previewWidth, $previewHeight) { |
929 | 929 | $scalingUp = $this->getScalingUp(); |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * Returns expensive repair steps to be run on the |
124 | 124 | * command line with a special option. |
125 | 125 | * |
126 | - * @return array of RepairStep instances |
|
126 | + * @return OldGroupMembershipShares[] of RepairStep instances |
|
127 | 127 | */ |
128 | 128 | public static function getExpensiveRepairSteps() { |
129 | 129 | return [ |
@@ -163,6 +163,8 @@ discard block |
||
163 | 163 | * {@inheritDoc} |
164 | 164 | * |
165 | 165 | * Re-declared as public to allow invocation from within the closure above in php 5.3 |
166 | + * @param string $scope |
|
167 | + * @param string $method |
|
166 | 168 | */ |
167 | 169 | public function emit($scope, $method, array $arguments = array()) { |
168 | 170 | parent::emit($scope, $method, $arguments); |
@@ -69,7 +69,7 @@ |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
72 | - * @param \Doctrine\DBAL\Connection $connection |
|
72 | + * @param \OC\DB\Connection $connection |
|
73 | 73 | * @return string[] |
74 | 74 | */ |
75 | 75 | protected function getAllNonUTF8BinTables($connection) { |
@@ -53,7 +53,7 @@ |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @param \Doctrine\DBAL\Connection $connection |
|
56 | + * @param \OCP\IDBConnection $connection |
|
57 | 57 | * @return string[] |
58 | 58 | */ |
59 | 59 | private function getAllMyIsamTables($connection) { |