@@ -361,7 +361,7 @@ |
||
361 | 361 | |
362 | 362 | /** |
363 | 363 | * @param string $version |
364 | - * @return mixed |
|
364 | + * @return \Doctrine\DBAL\Schema\Schema |
|
365 | 365 | * @throws \Exception |
366 | 366 | */ |
367 | 367 | protected function createInstance($version) { |
@@ -319,6 +319,7 @@ |
||
319 | 319 | * @param string $error_msg The error message to show |
320 | 320 | * @param string $hint An optional hint message - needs to be properly escaped |
321 | 321 | * @param int HTTP Status Code |
322 | + * @param integer $httpStatusCode |
|
322 | 323 | */ |
323 | 324 | public static function printErrorPage( $error_msg, $hint = '', $httpStatusCode = null ) { |
324 | 325 | if ($error_msg === $hint) { |
@@ -31,7 +31,6 @@ |
||
31 | 31 | |
32 | 32 | namespace OC\Settings; |
33 | 33 | |
34 | -use OC\Files\View; |
|
35 | 34 | use OC\Server; |
36 | 35 | use OC\AppFramework\Utility\TimeFactory; |
37 | 36 | use OC\Settings\Controller\SettingsPageController; |
@@ -74,6 +74,10 @@ |
||
74 | 74 | && $column->getAutoincrement(); |
75 | 75 | } |
76 | 76 | |
77 | + /** |
|
78 | + * @param TableDiff $diff |
|
79 | + * @param string $name |
|
80 | + */ |
|
77 | 81 | private function findColumnDiffByName($diff, $name){ |
78 | 82 | foreach ($diff->changedColumns as $columnDiff){ |
79 | 83 | $oldColumnName = $columnDiff->getOldColumnName()->getQuotedName($this); |