Skip to content
Snippets Groups Projects
Commit dcbd6035 authored by Scrutinizer Auto-Fixer's avatar Scrutinizer Auto-Fixer Committed by Thomas Müller
Browse files

Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
parent 802f226d
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ class ApiController extends Controller { ...@@ -127,7 +127,7 @@ class ApiController extends Controller {
* *
* @NoAdminRequired * @NoAdminRequired
* *
* @param array|string $tagName tag name to filter by * @param string[] $tagName tag name to filter by
* @return DataResponse * @return DataResponse
*/ */
public function getFilesByTag($tagName) { public function getFilesByTag($tagName) {
......
...@@ -166,7 +166,7 @@ class Activity implements IExtension { ...@@ -166,7 +166,7 @@ class Activity implements IExtension {
* @param string $text * @param string $text
* @param IL10N $l * @param IL10N $l
* @param array $params * @param array $params
* @return bool|string * @return string|false
*/ */
protected function translateLong($text, IL10N $l, array $params) { protected function translateLong($text, IL10N $l, array $params) {
switch ($text) { switch ($text) {
...@@ -198,7 +198,7 @@ class Activity implements IExtension { ...@@ -198,7 +198,7 @@ class Activity implements IExtension {
* @param string $text * @param string $text
* @param IL10N $l * @param IL10N $l
* @param array $params * @param array $params
* @return bool|string * @return string|false
*/ */
protected function translateShort($text, IL10N $l, array $params) { protected function translateShort($text, IL10N $l, array $params) {
switch ($text) { switch ($text) {
......
...@@ -243,6 +243,7 @@ class OC_Mount_Config { ...@@ -243,6 +243,7 @@ class OC_Mount_Config {
* *
* @param string $class backend class name * @param string $class backend class name
* @param array $options backend configuration options * @param array $options backend configuration options
* @param boolean $isPersonal
* @return int see self::STATUS_* * @return int see self::STATUS_*
* @throws Exception * @throws Exception
*/ */
...@@ -357,7 +358,7 @@ class OC_Mount_Config { ...@@ -357,7 +358,7 @@ class OC_Mount_Config {
* @param \OCP\IL10N $l * @param \OCP\IL10N $l
* @param string $module * @param string $module
* @param string $backend * @param string $backend
* @return string * @return OC_L10N_String
*/ */
private static function getSingleDependencyMessage(\OCP\IL10N $l, $module, $backend) { private static function getSingleDependencyMessage(\OCP\IL10N $l, $module, $backend) {
switch (strtolower($module)) { switch (strtolower($module)) {
......
...@@ -32,7 +32,6 @@ use OCP\IUser; ...@@ -32,7 +32,6 @@ use OCP\IUser;
use OCA\Files_external\Service\UserStoragesService; use OCA\Files_external\Service\UserStoragesService;
use OCA\Files_External\Service\UserGlobalStoragesService; use OCA\Files_External\Service\UserGlobalStoragesService;
use OCA\Files_External\Lib\StorageConfig; use OCA\Files_External\Lib\StorageConfig;
use OCP\Files\StorageNotAvailableException;
use OCA\Files_External\Lib\FailedStorage; use OCA\Files_External\Lib\FailedStorage;
/** /**
......
...@@ -195,7 +195,7 @@ class SFTP extends \OC\Files\Storage\Common { ...@@ -195,7 +195,7 @@ class SFTP extends \OC\Files\Storage\Common {
} }
/** /**
* @return bool|string * @return string|false
*/ */
private function hostKeysPath() { private function hostKeysPath() {
try { try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment