@@ -49,7 +49,7 @@ |
||
49 | 49 | * Get a value from OC config by |
50 | 50 | * path key1.key2.key3 |
51 | 51 | * @param string $path |
52 | - * @return mixed |
|
52 | + * @return string |
|
53 | 53 | */ |
54 | 54 | public function getByPath($path){ |
55 | 55 | return $this->get(explode('.', $path)); |
@@ -30,6 +30,9 @@ |
||
30 | 30 | protected $file; |
31 | 31 | protected $path; |
32 | 32 | |
33 | + /** |
|
34 | + * @param string $path |
|
35 | + */ |
|
33 | 36 | public function __construct($file, $path){ |
34 | 37 | $this->file = $file; |
35 | 38 | $this->path = $path; |