Completed
Pull Request — master (#4)
by
unknown
11:23
created
src/behaviors/FileBehavior.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,6 +185,9 @@  discard block
 block discarded – undo
185 185
         return;
186 186
     }
187 187
 
188
+    /**
189
+     * @param string $attribute
190
+     */
188 191
     private function setState($attribute, $file)
189 192
     {
190 193
         $rec = new FileUploadSession();
@@ -302,7 +305,7 @@  discard block
 block discarded – undo
302 305
      * Get file storage
303 306
      *
304 307
      * @param string $attribute The attribute name
305
-     * @return \Flysystem
308
+     * @return string
306 309
      */
307 310
     public function fileStorage($attribute)
308 311
     {
@@ -565,6 +568,9 @@  discard block
 block discarded – undo
565 568
         static::$classPathMap[$source] = $mapTo;
566 569
     }
567 570
 
571
+    /**
572
+     * @param string $source
573
+     */
568 574
     protected static function getClass($source) {
569 575
         return isset(static::$classPathMap[$source])
570 576
             ? static::$classPathMap[$source]
Please login to merge, or discard this patch.