Completed
Pull Request — master (#31299)
by Piotr
10:38
created
lib/private/Files/Utils/Scanner.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@
 block discarded – undo
170 170
 	/**
171 171
 	 * Returns whether the given mount point should be scanned
172 172
 	 *
173
-	 * @param $mount mount point
173
+	 * @param \OC\Files\Mount\MountPoint|null $mount mount point
174 174
 	 * @return bool true to scan, false to skip
175 175
 	 */
176 176
 	private function shouldScan($mount) {
Please login to merge, or discard this patch.
lib/private/Share/MailNotifications.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -189,10 +189,10 @@
 block discarded – undo
189 189
 	 * inform recipient about public link share
190 190
 	 *
191 191
 	 * @param string $recipient recipient email address
192
-	 * @param string $filename the shared file
193
-	 * @param string $link the public link
194 192
 	 * @param array $options allows ['cc'] and ['bcc'] recipients
195
-	 * @param int $expiration expiration date (timestamp)
193
+	 * @param string $subject
194
+	 * @param boolean|string $htmlBody
195
+	 * @param boolean|string $textBody
196 196
 	 * @return string[] $result of failed recipients
197 197
 	 */
198 198
 	public function sendLinkShareMailFromBody($recipient, $subject, $htmlBody, $textBody, $options = []) {
Please login to merge, or discard this patch.
lib/private/Files/Storage/Wrapper/Encryption.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -654,7 +654,7 @@  discard block
 block discarded – undo
654 654
 	 * Set the flag to true, so that the file would be
655 655
 	 * in the decrypted state.
656 656
 	 *
657
-	 * @param $isDisabled bool
657
+	 * @param boolean $isDisabled bool
658 658
 	 */
659 659
 	public static function setDisableWriteEncryption($isDisabled) {
660 660
 		self::$disableWriteEncryption = $isDisabled;
@@ -891,7 +891,7 @@  discard block
 block discarded – undo
891 891
 	 * Read first block of encrypted file from resource, typically this will contain the
892 892
 	 * encryption header
893 893
 	 *
894
-	 * @param string|resource $path
894
+	 * @param resource $path
895 895
 	 * @return string
896 896
 	 */
897 897
 	protected function readResourceFirstBlock($path) {
@@ -920,7 +920,7 @@  discard block
 block discarded – undo
920 920
 	/**
921 921
 	 * return header size of given file
922 922
 	 *
923
-	 * @param string|resource $path
923
+	 * @param string $path
924 924
 	 * @return int
925 925
 	 */
926 926
 	protected function getHeaderSize($path) {
@@ -980,7 +980,7 @@  discard block
 block discarded – undo
980 980
 	/**
981 981
 	 * read header from file
982 982
 	 *
983
-	 * @param string|resource $path
983
+	 * @param string $path
984 984
 	 * @return array
985 985
 	 */
986 986
 	protected function getHeader($path) {
@@ -1086,7 +1086,7 @@  discard block
 block discarded – undo
1086 1086
 	/**
1087 1087
 	 * check if path points to a files version
1088 1088
 	 *
1089
-	 * @param $path
1089
+	 * @param string $path
1090 1090
 	 * @return bool
1091 1091
 	 */
1092 1092
 	protected function isVersion($path) {
Please login to merge, or discard this patch.