Code Duplication    Length = 7-13 lines in 3 locations

apps/files_external/lib/Command/Create.php 1 location

@@ 65-77 (lines=13) @@
62
	/** @var IUserSession */
63
	private $userSession;
64
65
	function __construct(GlobalStoragesService $globalService,
66
						 UserStoragesService $userService,
67
						 IUserManager $userManager,
68
						 IUserSession $userSession,
69
						 BackendService $backendService
70
	) {
71
		parent::__construct();
72
		$this->globalService = $globalService;
73
		$this->userService = $userService;
74
		$this->userManager = $userManager;
75
		$this->userSession = $userSession;
76
		$this->backendService = $backendService;
77
	}
78
79
	protected function configure() {
80
		$this

apps/files_external/lib/Command/Delete.php 1 location

@@ 59-65 (lines=7) @@
56
	 */
57
	protected $userManager;
58
59
	function __construct(GlobalStoragesService $globalService, UserStoragesService $userService, IUserSession $userSession, IUserManager $userManager) {
60
		parent::__construct();
61
		$this->globalService = $globalService;
62
		$this->userService = $userService;
63
		$this->userSession = $userSession;
64
		$this->userManager = $userManager;
65
	}
66
67
	protected function configure() {
68
		$this

apps/files_external/lib/Command/ListCommand.php 1 location

@@ 61-67 (lines=7) @@
58
59
	const ALL = -1;
60
61
	function __construct(GlobalStoragesService $globalService, UserStoragesService $userService, IUserSession $userSession, IUserManager $userManager) {
62
		parent::__construct();
63
		$this->globalService = $globalService;
64
		$this->userService = $userService;
65
		$this->userSession = $userSession;
66
		$this->userManager = $userManager;
67
	}
68
69
	protected function configure() {
70
		$this