@@ -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 | { |
@@ -893,7 +893,7 @@ |
||
893 | 893 | * @param string $url url to download |
894 | 894 | * @param string $file path to file or directory where to save |
895 | 895 | * @param string $defaultName fallback for name of download |
896 | - * @return bool|string if failed false, otherwise true or the name of the file in the given dir |
|
896 | + * @return false|string if failed false, otherwise true or the name of the file in the given dir |
|
897 | 897 | */ |
898 | 898 | protected function downloadToFile($url, $file, $defaultName = '') |
899 | 899 | { |
@@ -191,7 +191,7 @@ |
||
191 | 191 | * @param string $user Username |
192 | 192 | * @param string $pass Cleartext Password |
193 | 193 | * @param bool $sticky Cookie should not expire |
194 | - * @return bool true on successful auth, |
|
194 | + * @return boolean|null true on successful auth, |
|
195 | 195 | * null on unknown result (fallback to checkPass) |
196 | 196 | */ |
197 | 197 | public function trustExternal($user, $pass, $sticky = false) |