Completed
Pull Request — master (#187)
by Thomas
07:13
created
src/Command/CheckSystemCommand.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -21,11 +21,8 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
src/Command/DetectCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
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.
vendor/composer/ClassLoader.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -341,6 +341,10 @@
 block discarded – undo
341 341
         return $file;
342 342
     }
343 343
 
344
+    /**
345
+     * @param string $class
346
+     * @param string $ext
347
+     */
344 348
     private function findFileWithExtension($class, $ext)
345 349
     {
346 350
         // PSR-4 lookup
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/Exception/RequestException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     /**
103 103
      * Get the associated response
104 104
      *
105
-     * @return ResponseInterface|null
105
+     * @return ResponseInterface
106 106
      */
107 107
     public function getResponse()
108 108
     {
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/Message/AbstractMessage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
      * @param MessageInterface $message That contains the header
166 166
      * @param string              $header  Header to retrieve from the message
167 167
      *
168
-     * @return array Returns the normalized header field values.
168
+     * @return string[] Returns the normalized header field values.
169 169
      */
170 170
     public static function normalizeHeader(MessageInterface $message, $header)
171 171
     {
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/Message/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *   host header, and URI are parsed from the full URL. If query string
29 29
      *   parameters are present they will be parsed as well.
30 30
      * @param array|Collection $headers HTTP headers
31
-     * @param mixed            $body    Body to send with the request
31
+     * @param null|\GuzzleHttp\Stream\Stream            $body    Body to send with the request
32 32
      * @param array            $options Array of options to use with the request
33 33
      *     - emitter: Event emitter to use with the request
34 34
      */
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/Message/Response.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
     private $effectiveUrl;
84 84
 
85 85
     /**
86
-     * @param int|string      $statusCode The response status code (e.g. 200)
86
+     * @param string      $statusCode The response status code (e.g. 200)
87 87
      * @param array           $headers    The response headers
88 88
      * @param StreamInterface $body       The body of the response
89 89
      * @param array           $options    Response message options
Please login to merge, or discard this patch.