Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
More typing and remove unused property
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr authored and backportbot-nextcloud[bot] committed Nov 7, 2022
commit 6dc35e80c3f760193d9eb7396b55ea33770eef27
18 changes: 4 additions & 14 deletions lib/Controller/DirectSessionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,17 @@
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\Response;
use OCP\DirectEditing\IManager;
use OCP\Share\IManager as ShareManager;
use OCP\AppFramework\Http\DataResponse;
use OCP\IRequest;
use OCP\Share\IShare;

class DirectSessionController extends Controller {
private IShare $share;
private ApiService $apiService;
private IManager $directManager;

/** @var ShareManager */
private $shareManager;

/** @var IShare */
private $share;

/** @var ApiService */
private $apiService;
/** @var IManager */
private $directManager;

public function __construct(string $appName, IRequest $request, ShareManager $shareManager, ApiService $apiService, IManager $directManager) {
public function __construct(string $appName, IRequest $request, ApiService $apiService, IManager $directManager) {
parent::__construct($appName, $request);
$this->shareManager = $shareManager;
$this->apiService = $apiService;
$this->directManager = $directManager;
}
Expand Down