@@ -21,11 +21,8 @@ |
||
| 21 | 21 | |
| 22 | 22 | namespace Owncloud\Updater\Command; |
| 23 | 23 | |
| 24 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 25 | 24 | use Symfony\Component\Console\Input\InputInterface; |
| 26 | -use Symfony\Component\Console\Input\InputOption; |
|
| 27 | 25 | use Symfony\Component\Console\Output\OutputInterface; |
| 28 | - |
|
| 29 | 26 | use Owncloud\Updater\Utils\Collection; |
| 30 | 27 | |
| 31 | 28 | class CheckSystemCommand extends Command { |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | |
| 22 | 22 | namespace Owncloud\Updater\Command; |
| 23 | 23 | |
| 24 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 25 | 24 | use Symfony\Component\Console\Input\InputInterface; |
| 26 | 25 | use Symfony\Component\Console\Input\InputOption; |
| 27 | 26 | use Symfony\Component\Console\Output\OutputInterface; |
@@ -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; |
@@ -22,9 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | namespace Owncloud\Updater\Command; |
| 24 | 24 | |
| 25 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 26 | 25 | use Symfony\Component\Console\Input\InputInterface; |
| 27 | -use Symfony\Component\Console\Input\InputOption; |
|
| 28 | 26 | use Symfony\Component\Console\Output\OutputInterface; |
| 29 | 27 | use Owncloud\Updater\Utils\OccRunner; |
| 30 | 28 | use Owncloud\Updater\Utils\ZipExtractor; |
@@ -50,7 +50,7 @@ |
||
| 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 [ |
@@ -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; |