Fix conversion issues
Change to phpdoc type for automatic conversion
This commit is contained in:
parent
491e2654eb
commit
bb24e40bf4
|
@ -127,6 +127,7 @@ class GlobalStoragesController extends StoragesController {
|
||||||
* @param array $applicableUsers users for which to mount the storage
|
* @param array $applicableUsers users for which to mount the storage
|
||||||
* @param array $applicableGroups groups for which to mount the storage
|
* @param array $applicableGroups groups for which to mount the storage
|
||||||
* @param int $priority priority
|
* @param int $priority priority
|
||||||
|
* @param bool $testOnly whether to storage should only test the connection or do more things
|
||||||
*
|
*
|
||||||
* @return DataResponse
|
* @return DataResponse
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -237,6 +237,7 @@ abstract class StoragesController extends Controller {
|
||||||
* on whether the remote storage is available or not.
|
* on whether the remote storage is available or not.
|
||||||
*
|
*
|
||||||
* @param StorageConfig $storage storage configuration
|
* @param StorageConfig $storage storage configuration
|
||||||
|
* @param bool $testOnly whether to storage should only test the connection or do more things
|
||||||
*/
|
*/
|
||||||
protected function updateStorageStatus(StorageConfig &$storage, $testOnly = true) {
|
protected function updateStorageStatus(StorageConfig &$storage, $testOnly = true) {
|
||||||
try {
|
try {
|
||||||
|
@ -291,6 +292,7 @@ abstract class StoragesController extends Controller {
|
||||||
* Get an external storage entry.
|
* Get an external storage entry.
|
||||||
*
|
*
|
||||||
* @param int $id storage id
|
* @param int $id storage id
|
||||||
|
* @param bool $testOnly whether to storage should only test the connection or do more things
|
||||||
*
|
*
|
||||||
* @return DataResponse
|
* @return DataResponse
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -107,6 +107,7 @@ class UserGlobalStoragesController extends StoragesController {
|
||||||
* Get an external storage entry.
|
* Get an external storage entry.
|
||||||
*
|
*
|
||||||
* @param int $id storage id
|
* @param int $id storage id
|
||||||
|
* @param bool $testOnly whether to storage should only test the connection or do more things
|
||||||
* @return DataResponse
|
* @return DataResponse
|
||||||
*
|
*
|
||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
|
@ -139,6 +140,7 @@ class UserGlobalStoragesController extends StoragesController {
|
||||||
*
|
*
|
||||||
* @param int $id storage id
|
* @param int $id storage id
|
||||||
* @param array $backendOptions backend-specific options
|
* @param array $backendOptions backend-specific options
|
||||||
|
* @param bool $testOnly whether to storage should only test the connection or do more things
|
||||||
*
|
*
|
||||||
* @return DataResponse
|
* @return DataResponse
|
||||||
*
|
*
|
||||||
|
|
|
@ -159,6 +159,7 @@ class UserStoragesController extends StoragesController {
|
||||||
* @param string $authMechanism authentication mechanism identifier
|
* @param string $authMechanism authentication mechanism identifier
|
||||||
* @param array $backendOptions backend-specific options
|
* @param array $backendOptions backend-specific options
|
||||||
* @param array $mountOptions backend-specific mount options
|
* @param array $mountOptions backend-specific mount options
|
||||||
|
* @param bool $testOnly whether to storage should only test the connection or do more things
|
||||||
*
|
*
|
||||||
* @return DataResponse
|
* @return DataResponse
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue