also looking at this
Apply fixes from StyleCI
#45
1 file
+32
-32
| @@ -21,9 +21,9 @@ class MeemaAdapter extends AbstractAdapter | ||
| 21 | 21 | /** |
| 22 | 22 | * Write a new file. |
| 23 | 23 | * |
| 24 | * @param string $path | |
| 25 | * @param string $contents | |
| 26 | * @param Config $config Config object | |
| 24 | * @param string $path | |
| 25 | * @param string $contents | |
| 26 | * @param Config $config Config object | |
| 27 | 27 | * |
| 28 | 28 | * @return false|array false on failure file meta data on success |
| 29 | 29 | */ |
| @@ -35,9 +35,9 @@ class MeemaAdapter extends AbstractAdapter | ||
| 35 | 35 | /** |
| 36 | 36 | * Write a new file using a stream. |
| 37 | 37 | * |
| 38 | * @param string $path | |
| 39 | * @param resource $resource | |
| 40 | * @param Config $config Config object | |
| 38 | * @param string $path | |
| 39 | * @param resource $resource | |
| 40 | * @param Config $config Config object | |
| 41 | 41 | * |
| 42 | 42 | * @return array|false false on failure file meta data on success |
| 43 | 43 | */ |
| @@ -49,9 +49,9 @@ class MeemaAdapter extends AbstractAdapter | ||
| 49 | 49 | /** |
| 50 | 50 | * Update a file. |
| 51 | 51 | * |
| 52 | * @param string $path | |
| 53 | * @param string $contents | |
| 54 | * @param Config $config Config object | |
| 52 | * @param string $path | |
| 53 | * @param string $contents | |
| 54 | * @param Config $config Config object | |
| 55 | 55 | * |
| 56 | 56 | * @return array|false false on failure file meta data on success |
| 57 | 57 | */ |
| @@ -63,9 +63,9 @@ class MeemaAdapter extends AbstractAdapter | ||
| 63 | 63 | /** |
| 64 | 64 | * Update a file using a stream. |
| 65 | 65 | * |
| 66 | * @param string $path | |
| 67 | * @param resource $resource | |
| 68 | * @param Config $config Config object | |
| 66 | * @param string $path | |
| 67 | * @param resource $resource | |
| 68 | * @param Config $config Config object | |
| 69 | 69 | * |
| 70 | 70 | * @return array|false false on failure file meta data on success |
| 71 | 71 | */ |
| @@ -77,8 +77,8 @@ class MeemaAdapter extends AbstractAdapter | ||
| 77 | 77 | /** |
| 78 | 78 | * Rename a file. |
| 79 | 79 | * |
| 80 | * @param string $path | |
| 81 | * @param string $newpath | |
| 80 | * @param string $path | |
| 81 | * @param string $newpath | |
| 82 | 82 | * |
| 83 | 83 | * @return bool |
| 84 | 84 | */ |
| @@ -90,8 +90,8 @@ class MeemaAdapter extends AbstractAdapter | ||
| 90 | 90 | /** |
| 91 | 91 | * Copy a file. |
| 92 | 92 | * |
| 93 | * @param string $path | |
| 94 | * @param string $newpath | |
| 93 | * @param string $path | |
| 94 | * @param string $newpath | |
| 95 | 95 | * |
| 96 | 96 | * @return bool |
| 97 | 97 | */ |
| @@ -103,7 +103,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 103 | 103 | /** |
| 104 | 104 | * Delete a file. |
| 105 | 105 | * |
| 106 | * @param string $path | |
| 106 | * @param string $path | |
| 107 | 107 | * |
| 108 | 108 | * @return bool |
| 109 | 109 | */ |
| @@ -115,7 +115,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 115 | 115 | /** |
| 116 | 116 | * Delete a directory. |
| 117 | 117 | * |
| 118 | * @param string $dirname | |
| 118 | * @param string $dirname | |
| 119 | 119 | * |
| 120 | 120 | * @return bool |
| 121 | 121 | */ |
| @@ -127,8 +127,8 @@ class MeemaAdapter extends AbstractAdapter | ||
| 127 | 127 | /** |
| 128 | 128 | * Create a directory. |
| 129 | 129 | * |
| 130 | * @param string $dirname directory name | |
| 131 | * @param Config $config | |
| 130 | * @param string $dirname directory name | |
| 131 | * @param Config $config | |
| 132 | 132 | * |
| 133 | 133 | * @return array|false |
| 134 | 134 | */ |
| @@ -140,8 +140,8 @@ class MeemaAdapter extends AbstractAdapter | ||
| 140 | 140 | /** |
| 141 | 141 | * Set the visibility for a file. |
| 142 | 142 | * |
| 143 | * @param string $path | |
| 144 | * @param string $visibility | |
| 143 | * @param string $path | |
| 144 | * @param string $visibility | |
| 145 | 145 | * |
| 146 | 146 | * @return array|false file meta data |
| 147 | 147 | */ |
| @@ -153,7 +153,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 153 | 153 | /** |
| 154 | 154 | * Check whether a file exists. |
| 155 | 155 | * |
| 156 | * @param string $path | |
| 156 | * @param string $path | |
| 157 | 157 | * |
| 158 | 158 | * @return bool |
| 159 | 159 | */ |
| @@ -165,7 +165,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 165 | 165 | /** |
| 166 | 166 | * Read a file. |
| 167 | 167 | * |
| 168 | * @param string $path | |
| 168 | * @param string $path | |
| 169 | 169 | * |
| 170 | 170 | * @return false|array |
| 171 | 171 | */ |
| @@ -177,8 +177,8 @@ class MeemaAdapter extends AbstractAdapter | ||
| 177 | 177 | /** |
| 178 | 178 | * List contents of a directory. |
| 179 | 179 | * |
| 180 | * @param string $directory | |
| 181 | * @param bool $recursive | |
| 180 | * @param string $directory | |
| 181 | * @param bool $recursive | |
| 182 | 182 | * |
| 183 | 183 | * @return array |
| 184 | 184 | */ |
| @@ -190,7 +190,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 190 | 190 | /** |
| 191 | 191 | * Read a file as a stream. |
| 192 | 192 | * |
| 193 | * @param string $path | |
| 193 | * @param string $path | |
| 194 | 194 | * |
| 195 | 195 | * @return array|false |
| 196 | 196 | */ |
| @@ -202,7 +202,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 202 | 202 | /** |
| 203 | 203 | * Get all the meta data of a file or directory. |
| 204 | 204 | * |
| 205 | * @param string $path | |
| 205 | * @param string $path | |
| 206 | 206 | * |
| 207 | 207 | * @return false|array |
| 208 | 208 | */ |
| @@ -214,7 +214,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 214 | 214 | /** |
| 215 | 215 | * Get all the meta data of a file or directory. |
| 216 | 216 | * |
| 217 | * @param string $path | |
| 217 | * @param string $path | |
| 218 | 218 | * |
| 219 | 219 | * @return false|array |
| 220 | 220 | */ |
| @@ -226,7 +226,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 226 | 226 | /** |
| 227 | 227 | * Get the mimetype of a file. |
| 228 | 228 | * |
| 229 | * @param string $path | |
| 229 | * @param string $path | |
| 230 | 230 | * |
| 231 | 231 | * @return false|array |
| 232 | 232 | */ |
| @@ -238,7 +238,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 238 | 238 | /** |
| 239 | 239 | * Get the timestamp of a file. |
| 240 | 240 | * |
| 241 | * @param string $path | |
| 241 | * @param string $path | |
| 242 | 242 | * |
| 243 | 243 | * @return false|array |
| 244 | 244 | */ |
| @@ -250,7 +250,7 @@ class MeemaAdapter extends AbstractAdapter | ||
| 250 | 250 | /** |
| 251 | 251 | * Get the visibility of a file. |
| 252 | 252 | * |
| 253 | * @param string $path | |
| 253 | * @param string $path | |
| 254 | 254 | * |
| 255 | 255 | * @return array|false |
| 256 | 256 | */ |