Completed
Pull Request — master (#16)
by frey
02:26
created
src/Adapter.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-     * @return mixed
48
+     * @return string
49 49
      */
50 50
     public function getBucket()
51 51
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @param $path
56
+     * @param string $path
57 57
      *
58 58
      * @return string
59 59
      */
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
     /**
288 288
      * @param string $path
289 289
      *
290
-     * @return array
290
+     * @return string
291 291
      */
292 292
     public function read($path)
293 293
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
         try {
79 79
             $response = Cosapi::upload($this->getBucket(), $tmpfname, $path,
80
-                                       null, null, $config->get('insertOnly', 1));
80
+                                        null, null, $config->get('insertOnly', 1));
81 81
 
82 82
             $this->deleteTempFile($tmpfname);
83 83
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         $uri = stream_get_meta_data($resource)['uri'];
112 112
 
113 113
         $response = Cosapi::upload($this->getBucket(), $uri, $path,
114
-                                   null, null, $config->get('insertOnly', 1));
114
+                                    null, null, $config->get('insertOnly', 1));
115 115
 
116 116
         $response = $this->normalizeResponse($response);
117 117
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
         try {
141 141
             $response = Cosapi::upload($this->getBucket(), $tmpfname, $path,
142
-                                       null, null, $config->get('insertOnly', 0));
142
+                                        null, null, $config->get('insertOnly', 0));
143 143
 
144 144
             $this->deleteTempFile($tmpfname);
145 145
 
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
         $uri = stream_get_meta_data($resource)['uri'];
174 174
 
175 175
         $response = Cosapi::upload($this->getBucket(), $uri, $path,
176
-                                   null, null, $config->get('insertOnly', 0));
176
+                                    null, null, $config->get('insertOnly', 0));
177 177
 
178 178
         $response = $this->normalizeResponse($response);
179 179
 
Please login to merge, or discard this patch.