|
1 | 1 | <?php |
2 | 2 |
|
| 3 | +declare(strict_types=1); |
| 4 | + |
| 5 | +/** |
| 6 | + * Circles - Bring cloud-users closer together. |
| 7 | + * |
| 8 | + * This file is licensed under the Affero General Public License version 3 or |
| 9 | + * later. See the COPYING file. |
| 10 | + * |
| 11 | + * @author Maxence Lange <maxence@artificial-owl.com> |
| 12 | + * @copyright 2023 |
| 13 | + * @license GNU AGPL version 3 or any later version |
| 14 | + * |
| 15 | + * This program is free software: you can redistribute it and/or modify |
| 16 | + * it under the terms of the GNU Affero General Public License as |
| 17 | + * published by the Free Software Foundation, either version 3 of the |
| 18 | + * License, or (at your option) any later version. |
| 19 | + * |
| 20 | + * This program is distributed in the hope that it will be useful, |
| 21 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 23 | + * GNU Affero General Public License for more details. |
| 24 | + * |
| 25 | + * You should have received a copy of the GNU Affero General Public License |
| 26 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 27 | + * |
| 28 | + */ |
3 | 29 |
|
4 | 30 | namespace OCA\Circles\Activity; |
5 | 31 |
|
|
9 | 35 | use OCP\IURLGenerator; |
10 | 36 |
|
11 | 37 | class Filter implements IFilter { |
12 | | - /** @var IL10N */ |
13 | | - protected $l10n; |
14 | | - |
15 | | - /** @var IURLGenerator */ |
16 | | - protected $url; |
17 | | - |
18 | | - public function __construct(IL10N $l10n, IURLGenerator $url) { |
19 | | - $this->l10n = $l10n; |
20 | | - $this->url = $url; |
| 38 | + public function __construct( |
| 39 | + protected IL10N $l10n, |
| 40 | + protected IURLGenerator $url |
| 41 | + ) { |
21 | 42 | } |
22 | 43 |
|
23 | 44 | /** |
|
0 commit comments