Cleanup use statements

This commit is contained in:
Julius Haertl
2017-01-13 16:46:59 +01:00
parent b0627d8979
commit da34d7167f
4 changed files with 3 additions and 7 deletions

View File

@@ -21,12 +21,9 @@
* *
*/ */
// db/author.php
namespace OCA\Deck\Db; namespace OCA\Deck\Db;
use JsonSerializable; class Acl extends Entity implements \JsonSerializable {
class Acl extends Entity implements JsonSerializable {
const PERMISSION_READ = 0; const PERMISSION_READ = 0;
const PERMISSION_EDIT = 1; const PERMISSION_EDIT = 1;

View File

@@ -26,7 +26,7 @@ namespace OCA\Deck\Service;
use OCA\Deck\Db\Acl; use OCA\Deck\Db\Acl;
use OCA\Deck\Db\AclMapper; use OCA\Deck\Db\AclMapper;
use OCA\Deck\Db\Label; use OCA\Deck\Db\Label;
use OCP\IGroupManager;
use OCP\ILogger; use OCP\ILogger;
use OCP\IL10N; use OCP\IL10N;

View File

@@ -31,7 +31,6 @@ use OCA\Deck\Db\LabelMapper;
class LabelService { class LabelService {
private $labelMapper; private $labelMapper;
private $logger;
public function __construct( public function __construct(
LabelMapper $labelMapper, LabelMapper $labelMapper,

View File

@@ -26,7 +26,7 @@ namespace OCA\Deck\Service;
use OCA\Deck\Db\Acl; use OCA\Deck\Db\Acl;
use OCA\Deck\Db\AclMapper; use OCA\Deck\Db\AclMapper;
use OCA\Deck\Db\BoardMapper; use OCA\Deck\Db\BoardMapper;
use OCA\Deck\Db\Entity;
use OCA\Deck\Db\IPermissionMapper; use OCA\Deck\Db\IPermissionMapper;
use OCA\Deck\NoPermissionException; use OCA\Deck\NoPermissionException;
use OCA\Deck\NotFoundException; use OCA\Deck\NotFoundException;