1 | <?php |
||
37 | class SettingsService { |
||
38 | |||
39 | |||
40 | /** @var IConfig */ |
||
41 | private $config; |
||
42 | |||
43 | /** @var string */ |
||
44 | private $userId; |
||
45 | |||
46 | /** @var MiscService */ |
||
47 | private $miscService; |
||
48 | |||
49 | |||
50 | /** |
||
51 | * ConfigService constructor. |
||
52 | * |
||
53 | * @param IConfig $config |
||
54 | * @param string $userId |
||
55 | * @param MiscService $miscService |
||
56 | */ |
||
57 | public function __construct(IConfig $config, $userId, MiscService $miscService) { |
||
62 | |||
63 | |||
64 | /** |
||
65 | * @param array $data |
||
66 | * |
||
67 | * @return bool |
||
68 | */ |
||
69 | public function checkConfig(array $data): bool { |
||
74 | |||
75 | |||
76 | } |
||
77 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.