Skip to content

Commit

Permalink
chore: Fix PHP code style to make ci happy
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Aug 7, 2024
1 parent b63abf0 commit 4c9c1c9
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

namespace OCA\Files_DownloadLimit\AppInfo;

use OCA\Files_DownloadLimit\Capabilities;
use OCA\Files\Event\LoadSidebar;
use OCA\Files_DownloadLimit\Capabilities;
use OCA\Files_DownloadLimit\Listener\BeforeTemplateRenderedListener;
use OCA\Files_DownloadLimit\Listener\LoadSidebarListener;
use OCA\Files_DownloadLimit\Listener\ShareLinkAccessedListener;
Expand Down
8 changes: 4 additions & 4 deletions lib/Controller/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ class ApiController extends OCSController {
private $mapper;

public function __construct(IRequest $request,
IConfig $config,
IManager $shareManager,
IUserSession $userSession,
LimitMapper $mapper) {
IConfig $config,
IManager $shareManager,
IUserSession $userSession,
LimitMapper $mapper) {
parent::__construct(Application::APP_ID, $request);
$this->config = $config;
$this->shareManager = $shareManager;
Expand Down
2 changes: 1 addition & 1 deletion lib/Db/Limit.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/
namespace OCA\Files_DownloadLimit\Db;

use \JsonSerializable;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;

class Limit extends Entity implements JsonSerializable {
Expand Down
2 changes: 1 addition & 1 deletion lib/Db/LimitMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
*/
namespace OCA\Files_DownloadLimit\Db;

use OCP\IDBConnection;
use OCP\AppFramework\Db\QBMapper;
use OCP\IDBConnection;

class LimitMapper extends QBMapper {
public function __construct(IDBConnection $db) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/BeforeTemplateRenderedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class BeforeTemplateRenderedListener implements IEventListener {
private $limitMapper;

public function __construct(IInitialState $initialStateService,
LimitMapper $limitMapper) {
LimitMapper $limitMapper) {
$this->initialStateService = $initialStateService;
$this->limitMapper = $limitMapper;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Listener/LoadSidebarListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

namespace OCA\Files_DownloadLimit\Listener;

use OCA\Files_DownloadLimit\AppInfo\Application;
use OCA\Files\Event\LoadSidebar;
use OCA\Files_DownloadLimit\AppInfo\Application;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\Util;
Expand Down
6 changes: 3 additions & 3 deletions lib/Listener/ShareLinkAccessedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ class ShareLinkAccessedListener implements IEventListener {
private $logger;

public function __construct(IConfig $config,
IManager $manager,
LimitMapper $mapper,
LoggerInterface $logger) {
IManager $manager,
LimitMapper $mapper,
LoggerInterface $logger) {
$this->config = $config;
$this->manager = $manager;
$this->mapper = $mapper;
Expand Down

0 comments on commit 4c9c1c9

Please sign in to comment.