Completed
Pull Request — master (#215)
by Thomas
04:24 queued 30s
created
src/Utils/ConfigReader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.
src/Utils/ZipExtractor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Utils/Locator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
 	/**
52 52
 	 * expected items in the core
53
-	 * @return array
53
+	 * @return string[]
54 54
 	 */
55 55
 	public function getRootDirContent(){
56 56
 		return [
Please login to merge, or discard this patch.
src/Utils/Registry.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -26,10 +26,16 @@
 block discarded – undo
26 26
 
27 27
 	protected $objects = array();
28 28
 
29
+	/**
30
+	 * @param string $name
31
+	 */
29 32
 	function set($name, $object){
30 33
 		$this->objects[$name] = $object;
31 34
 	}
32 35
 
36
+	/**
37
+	 * @param string $name
38
+	 */
33 39
 	function get($name){
34 40
 		if (isset($this->objects[$name])){
35 41
 			return $this->objects[$name];
Please login to merge, or discard this patch.