1 | <?php |
||
32 | class ConfigService { |
||
33 | |||
34 | |||
35 | private $defaults = []; |
||
|
|||
36 | |||
37 | private $appName; |
||
38 | |||
39 | private $config; |
||
40 | |||
41 | private $miscService; |
||
42 | |||
43 | public function __construct($appName, IConfig $config, $userId, MiscService $miscService) { |
||
49 | |||
50 | /** |
||
51 | * Get a user value by key |
||
52 | * |
||
53 | * @param string $key |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | public function getUserValue($key) { |
||
60 | |||
61 | /** |
||
62 | * Set a user value by key |
||
63 | * |
||
64 | * @param string $key |
||
65 | * @param string $value |
||
66 | * |
||
67 | * @return string |
||
68 | */ |
||
69 | public function setUserValue($key, $value) { |
||
72 | |||
73 | } |
||
74 |
This check marks private properties in classes that are never used. Those properties can be removed.