diff options
author | Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> | 2014-02-19 09:31:54 +0100 |
---|---|---|
committer | Scrutinizer <auto-fixer@scrutinizer-ci.com> | 2014-02-19 09:31:54 +0100 |
commit | adaee6a5a19a4b0050d189736bd4e6183fee9cf0 (patch) | |
tree | a553fc57c2ff8c99081f8e15fbee7dff2c00adbf /lib/private/migration | |
parent | 1e321406ee2d973e937637ab090cbd83a6eb40cf (diff) | |
download | nextcloud-server-adaee6a5a19a4b0050d189736bd4e6183fee9cf0.tar.gz nextcloud-server-adaee6a5a19a4b0050d189736bd4e6183fee9cf0.zip |
Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720
Enabled analysis tools:
- PHP Analyzer
- JSHint
- PHP Copy/Paste Detector
- PHP PDepend
Diffstat (limited to 'lib/private/migration')
-rw-r--r-- | lib/private/migration/content.php | 8 | ||||
-rw-r--r-- | lib/private/migration/provider.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/migration/content.php b/lib/private/migration/content.php index e7b6543171a..43eba89b8d5 100644 --- a/lib/private/migration/content.php +++ b/lib/private/migration/content.php @@ -34,9 +34,9 @@ class OC_Migration_Content{ /** * @brief sets up the - * @param $zip ZipArchive object + * @param ZipArchive $zip ZipArchive object * @param $db a database object (required for exporttype user) - * @return bool + * @return boolean|null */ public function __construct( $zip, $db=null ) { @@ -74,7 +74,7 @@ class OC_Migration_Content{ /** * @brief processes the db query - * @param $query the query to process + * @param string $query the query to process * @return string of processed query */ private function processQuery( $query ) { @@ -130,7 +130,7 @@ class OC_Migration_Content{ /** * @brief saves a sql data set into migration.db - * @param $data a sql data set returned from self::prepare()->query() + * @param OC_DB_StatementWrapper $data a sql data set returned from self::prepare()->query() * @param $options array of copyRows options * @return void */ diff --git a/lib/private/migration/provider.php b/lib/private/migration/provider.php index 234ab3351f3..2829a97a776 100644 --- a/lib/private/migration/provider.php +++ b/lib/private/migration/provider.php @@ -30,7 +30,7 @@ abstract class OC_Migration_Provider{ /** * @brief sets the OC_Migration_Content object to $this->content - * @param $content a OC_Migration_Content object + * @param OC_Migration_Content $content a OC_Migration_Content object */ public function setData( $uid, $content, $info=null ) { $this->content = $content; |