Skip to content

Commit

Permalink
chore: composer run cs:fix
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Jan 23, 2024
1 parent dec887f commit b299d85
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
6 changes: 3 additions & 3 deletions lib/BackgroundJobs/AdminNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ class AdminNotification extends QueuedJob {
protected IURLGenerator $url;

public function __construct(ITimeFactory $time,
IManager $manager,
IGroupManager $groupManager,
IURLGenerator $url) {
IManager $manager,
IGroupManager $groupManager,
IURLGenerator $url) {
parent::__construct($time);
$this->manager = $manager;
$this->groupManager = $groupManager;
Expand Down
4 changes: 2 additions & 2 deletions lib/BackgroundJobs/MonthlyReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class MonthlyReport extends TimedJob {
protected LoggerInterface $logger;

public function __construct(ITimeFactory $time,
Collector $collector,
LoggerInterface $logger) {
Collector $collector,
LoggerInterface $logger) {
parent::__construct($time);
$this->collector = $collector;
$this->logger = $logger;
Expand Down
11 changes: 5 additions & 6 deletions lib/Controller/EndpointController.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@

namespace OCA\Survey_Client\Controller;

use OCA\Survey_Client\BackgroundJobs\MonthlyReport;
use OCA\Survey_Client\Collector;

use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\OCSController;
use OCP\BackgroundJob\IJobList;
use OCP\IRequest;
use OCP\Notification\IManager;
use OCA\Survey_Client\BackgroundJobs\MonthlyReport;

class EndpointController extends OCSController {

Expand All @@ -51,10 +50,10 @@ class EndpointController extends OCSController {
* @param IManager $manager
*/
public function __construct(string $appName,
IRequest $request,
Collector $collector,
IJobList $jobList,
IManager $manager) {
IRequest $request,
Collector $collector,
IJobList $jobList,
IManager $manager) {
parent::__construct($appName, $request);

$this->collector = $collector;
Expand Down
4 changes: 2 additions & 2 deletions lib/Migration/SendAdminNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@

namespace OCA\Survey_Client\Migration;

use OCA\Survey_Client\BackgroundJobs\AdminNotification;
use OCA\Survey_Client\BackgroundJobs\MonthlyReport;
use OCP\BackgroundJob\IJobList;
use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;
use OCA\Survey_Client\BackgroundJobs\MonthlyReport;
use OCA\Survey_Client\BackgroundJobs\AdminNotification;

class SendAdminNotification implements IRepairStep {
/** @var IJobList */
Expand Down
8 changes: 4 additions & 4 deletions lib/Settings/AdminSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ class AdminSettings implements ISettings {
private $jobList;

public function __construct(Collector $collector,
IConfig $config,
IL10N $l,
IDateTimeFormatter $dateTimeFormatter,
IJobList $jobList
IConfig $config,
IL10N $l,
IDateTimeFormatter $dateTimeFormatter,
IJobList $jobList
) {
$this->collector = $collector;
$this->config = $config;
Expand Down
2 changes: 1 addition & 1 deletion templates/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</p>
<?php
}
?>
?>

<div id="last_report">
<h3>
Expand Down

0 comments on commit b299d85

Please sign in to comment.