Completed
Push — master ( f735c4...3825d6 )
by Hiraku
7s
created
src/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $validator = new JsonSchema\Validator;
31 31
         $validator->check((object)$config, json_decode($schema));
32 32
 
33
-        if (! $validator->isValid()) {
33
+        if (!$validator->isValid()) {
34 34
             throw new \InvalidArgumentException(var_export($validator->getErrors(), true));
35 35
         }
36 36
 
Please login to merge, or discard this patch.
src/CurlRemoteFilesystem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     {
68 68
         $that = $this; // for PHP5.3
69 69
 
70
-        return $this->fetch($origin, $fileUrl, $progress, $options, function ($ch, $request) use ($that, $fileName) {
70
+        return $this->fetch($origin, $fileUrl, $progress, $options, function($ch, $request) use ($that, $fileName) {
71 71
             $outputFile = new OutputFile($fileName);
72 72
             curl_setopt($ch, CURLOPT_RETURNTRANSFER, false);
73 73
             curl_setopt($ch, CURLOPT_FILE, $outputFile->getPointer());
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     {
99 99
         $that = $this; // for PHP5.3
100 100
 
101
-        return $this->fetch($origin, $fileUrl, $progress, $options, function ($ch, $request) use ($that) {
101
+        return $this->fetch($origin, $fileUrl, $progress, $options, function($ch, $request) use ($that) {
102 102
             // This order is important.
103 103
             curl_setopt($ch, CURLOPT_FILE, STDOUT);
104 104
             curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
Please login to merge, or discard this patch.
src/Factory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * get cached curl handler
28 28
      * @param string $origin
29
-     * @return resource<curl>
29
+     * @return resource
30 30
      */
31 31
     public static function getConnection($origin)
32 32
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
     /**
69 69
      * @param string $origin
70
-     * @param Composer\Config $config
70
+     * @param CConfig $config
71 71
      * @return string
72 72
      */
73 73
     private static function getRequestClass($origin, CConfig $config)
Please login to merge, or discard this patch.