|
35 | 35 | use OCP\Share\IShareHelper; |
36 | 36 |
|
37 | 37 | class Listener { |
38 | | - protected IManager $activityManager; |
39 | | - protected IUserSession $session; |
40 | | - protected IAppManager $appManager; |
41 | | - protected IMountProviderCollection $mountCollection; |
42 | | - protected IRootFolder $rootFolder; |
43 | | - protected IShareHelper $shareHelper; |
44 | | - |
45 | | - /** |
46 | | - * Listener constructor. |
47 | | - */ |
48 | | - public function __construct(IManager $activityManager, |
49 | | - IUserSession $session, |
50 | | - IAppManager $appManager, |
51 | | - IMountProviderCollection $mountCollection, |
52 | | - IRootFolder $rootFolder, |
53 | | - IShareHelper $shareHelper) { |
54 | | - $this->activityManager = $activityManager; |
55 | | - $this->session = $session; |
56 | | - $this->appManager = $appManager; |
57 | | - $this->mountCollection = $mountCollection; |
58 | | - $this->rootFolder = $rootFolder; |
59 | | - $this->shareHelper = $shareHelper; |
| 38 | + public function __construct( |
| 39 | + protected IManager $activityManager, |
| 40 | + protected IUserSession $session, |
| 41 | + protected IAppManager $appManager, |
| 42 | + protected IMountProviderCollection $mountCollection, |
| 43 | + protected IRootFolder $rootFolder, |
| 44 | + protected IShareHelper $shareHelper, |
| 45 | + ) { |
60 | 46 | } |
61 | 47 |
|
62 | 48 | public function commentEvent(CommentsEvent $event): void { |
|
0 commit comments