@@ -16,7 +16,7 @@ |
||
16 | 16 | * @param string $template Mail template ('uploadmail', ...) |
17 | 17 | * @param string $id Media file for which the notification is |
18 | 18 | * @param int|bool $rev Old revision if any |
19 | - * @param int|bool $current_rev New revision if any |
|
19 | + * @param boolean $current_rev New revision if any |
|
20 | 20 | */ |
21 | 21 | public function sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) |
22 | 22 | { |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * call it in the constructor. |
48 | 48 | * |
49 | 49 | * @param string $property The name of the property. |
50 | - * @param null $class name of the class defining the property |
|
50 | + * @param string $class name of the class defining the property |
|
51 | 51 | * @see DebugHelper::dbgDeprecatedProperty |
52 | 52 | */ |
53 | 53 | protected function deprecatePublicProperty( |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * Like property_exists but also check for non-visible private properties and returns which |
100 | 100 | * class in the inheritance chain declared the property. |
101 | 101 | * @param string $property |
102 | - * @return string|bool Best guess for the class in which the property is defined. |
|
102 | + * @return string|false Best guess for the class in which the property is defined. |
|
103 | 103 | */ |
104 | 104 | private function deprecationHelperGetPropertyOwner($property) |
105 | 105 | { |
@@ -210,6 +210,7 @@ discard block |
||
210 | 210 | * Set source (remote/local/null) that getters should be forced on |
211 | 211 | * |
212 | 212 | * @var string $source |
213 | + * @param string $source |
|
213 | 214 | * @return void |
214 | 215 | */ |
215 | 216 | public function setForceSource($source) |
@@ -221,6 +222,7 @@ discard block |
||
221 | 222 | * If the source should be ignored for getters |
222 | 223 | * |
223 | 224 | * @var string $source |
225 | + * @param string $source |
|
224 | 226 | * @return bool If this extension is a template |
225 | 227 | */ |
226 | 228 | public function isIgnoredSource($source) |
@@ -949,7 +951,7 @@ discard block |
||
949 | 951 | * @param string $url url to download |
950 | 952 | * @param string $file path to file or directory where to save |
951 | 953 | * @param string $defaultName fallback for name of download |
952 | - * @return bool|string if failed false, otherwise true or the name of the file in the given dir |
|
954 | + * @return false|string if failed false, otherwise true or the name of the file in the given dir |
|
953 | 955 | */ |
954 | 956 | protected function downloadToFile($url, $file, $defaultName = '') |
955 | 957 | { |