Removed unneeded dependencies
This commit is contained in:
parent
8fb1b87ae5
commit
2d1b5308f3
2 changed files with 1 additions and 17 deletions
|
@ -1,33 +1,21 @@
|
|||
<?php
|
||||
namespace Szurubooru\Routes\Posts\Notes;
|
||||
use Szurubooru\Controllers\ViewProxies\PostNoteViewProxy;
|
||||
use Szurubooru\Helpers\InputReader;
|
||||
use Szurubooru\Privilege;
|
||||
use Szurubooru\Routes\Posts\AbstractPostRoute;
|
||||
use Szurubooru\Services\PostNotesService;
|
||||
use Szurubooru\Services\PostService;
|
||||
use Szurubooru\Services\PrivilegeService;
|
||||
|
||||
class DeletePostNote extends AbstractPostRoute
|
||||
{
|
||||
private $inputReader;
|
||||
private $postService;
|
||||
private $postNotesService;
|
||||
private $privilegeService;
|
||||
private $postNoteViewProxy;
|
||||
|
||||
public function __construct(
|
||||
InputReader $inputReader,
|
||||
PostService $postService,
|
||||
PostNotesService $postNotesService,
|
||||
PrivilegeService $privilegeService,
|
||||
PostNoteViewProxy $postNoteViewProxy)
|
||||
PrivilegeService $privilegeService)
|
||||
{
|
||||
$this->inputReader = $inputReader;
|
||||
$this->postService = $postService;
|
||||
$this->postNotesService = $postNotesService;
|
||||
$this->privilegeService = $privilegeService;
|
||||
$this->postNoteViewProxy = $postNoteViewProxy;
|
||||
}
|
||||
|
||||
public function getMethods()
|
||||
|
|
|
@ -6,26 +6,22 @@ use Szurubooru\Helpers\InputReader;
|
|||
use Szurubooru\Privilege;
|
||||
use Szurubooru\Routes\Posts\AbstractPostRoute;
|
||||
use Szurubooru\Services\PostNotesService;
|
||||
use Szurubooru\Services\PostService;
|
||||
use Szurubooru\Services\PrivilegeService;
|
||||
|
||||
class UpdatePostNote extends AbstractPostRoute
|
||||
{
|
||||
private $inputReader;
|
||||
private $postService;
|
||||
private $postNotesService;
|
||||
private $privilegeService;
|
||||
private $postNoteViewProxy;
|
||||
|
||||
public function __construct(
|
||||
InputReader $inputReader,
|
||||
PostService $postService,
|
||||
PostNotesService $postNotesService,
|
||||
PrivilegeService $privilegeService,
|
||||
PostNoteViewProxy $postNoteViewProxy)
|
||||
{
|
||||
$this->inputReader = $inputReader;
|
||||
$this->postService = $postService;
|
||||
$this->postNotesService = $postNotesService;
|
||||
$this->privilegeService = $privilegeService;
|
||||
$this->postNoteViewProxy = $postNoteViewProxy;
|
||||
|
|
Loading…
Reference in a new issue