1 | <?php |
||
42 | class SettingsService { |
||
43 | |||
44 | |||
45 | /** @var IConfig */ |
||
46 | private $config; |
||
47 | |||
48 | /** @var string */ |
||
49 | private $userId; |
||
50 | |||
51 | /** @var MiscService */ |
||
52 | private $miscService; |
||
53 | |||
54 | |||
55 | /** |
||
56 | * SettingsService constructor. |
||
57 | * |
||
58 | * @param IConfig $config |
||
59 | * @param string $userId |
||
60 | * @param MiscService $miscService |
||
61 | */ |
||
62 | public function __construct(IConfig $config, $userId, MiscService $miscService) { |
||
67 | |||
68 | /** |
||
69 | * @param array $data |
||
70 | * |
||
71 | * @return bool |
||
72 | */ |
||
73 | public function checkConfig(array $data) { |
||
78 | |||
79 | |||
80 | } |
||
81 | |||
82 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.