Completed
Push — master ( 819a4f...ef8618 )
by ARCANEDEV
10s
created
src/Http/Controllers/Admin/MediasController.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -248,6 +248,11 @@  discard block
 block discarded – undo
248 248
      |  Other Methods
249 249
      | -----------------------------------------------------------------
250 250
      */
251
+
252
+    /**
253
+     * @param string $location
254
+     * @param string $from
255
+     */
251 256
     private function moveFile($location, $from, array $data)
252 257
     {
253 258
         $ext = pathinfo($data['media']['url'], PATHINFO_EXTENSION);
@@ -258,6 +263,10 @@  discard block
 block discarded – undo
258 263
         return $to;
259 264
     }
260 265
 
266
+    /**
267
+     * @param string $location
268
+     * @param string $from
269
+     */
261 270
     private function moveDirectory($location, $from, array $data)
262 271
     {
263 272
         $to = $location.'/'.Str::slug($data['newName']);
Please login to merge, or discard this patch.
src/Media.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -285,6 +285,7 @@
 block discarded – undo
285 285
      * Check the given directory location.
286 286
      *
287 287
      * @param  string  &$directory
288
+     * @param string $directory
288 289
      *
289 290
      * @throws \Arcanesoft\Media\Exceptions\DirectoryNotFound
290 291
      * @throws \Arcanesoft\Media\Exceptions\AccessNotAllowed
Please login to merge, or discard this patch.