@@ -175,6 +175,12 @@ discard block |
||
| 175 | 175 | |
| 176 | 176 | } |
| 177 | 177 | |
| 178 | + /** |
|
| 179 | + * @param string $link |
|
| 180 | + * @param string $owner |
|
| 181 | + * @param string $initiator |
|
| 182 | + * @param string $shareWith |
|
| 183 | + */ |
|
| 178 | 184 | private function sendMailNotification($filename, $link, $owner, $initiator, $shareWith) { |
| 179 | 185 | if ($owner === $initiator) { |
| 180 | 186 | $subject = (string)$this->l->t('%s shared »%s« with you', array($owner, $filename)); |
@@ -200,6 +206,7 @@ discard block |
||
| 200 | 206 | * @param $link |
| 201 | 207 | * @param $owner |
| 202 | 208 | * @param $initiator |
| 209 | + * @param string $template |
|
| 203 | 210 | * @return string plain text mail |
| 204 | 211 | * @throws HintException |
| 205 | 212 | */ |
@@ -639,7 +646,7 @@ discard block |
||
| 639 | 646 | /** |
| 640 | 647 | * get database row of a give share |
| 641 | 648 | * |
| 642 | - * @param $id |
|
| 649 | + * @param integer $id |
|
| 643 | 650 | * @return array |
| 644 | 651 | * @throws ShareNotFound |
| 645 | 652 | */ |