Skip to content

Commit

Permalink
Run cs:fix
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Aug 28, 2023
1 parent f779534 commit c31209b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Controller/ActivitiesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
use OCA\Activity\Navigation;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\IConfig;
use OCP\IL10N;
use OCP\IRequest;
use OCP\EventDispatcher\IEventDispatcher;

class ActivitiesController extends Controller {
public function __construct(
Expand Down
5 changes: 3 additions & 2 deletions lib/ShareEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
*/
class ShareEventListener implements IEventListener {

public function __construct (
public function __construct(
private FilesHooks $fileHooks,
) {}
) {
}

public function handle(Event $event): void {
if ($event instanceof BeforeShareDeletedEvent) {
Expand Down
2 changes: 1 addition & 1 deletion tests/Controller/ActivitiesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
use OCA\Activity\Navigation;
use OCA\Activity\Tests\TestCase;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\IConfig;
use OCP\IL10N;
use OCP\ILogger;
use OCP\IRequest;
use OCP\Template;
use PHPUnit\Framework\MockObject\MockObject;
use OCP\EventDispatcher\IEventDispatcher;

/**
* Class ActivitiesTest
Expand Down

0 comments on commit c31209b

Please sign in to comment.