@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * appendStream. |
37 | 37 | * |
38 | - * @param string|resource $output |
|
38 | + * @param string $output |
|
39 | 39 | * @param string|resource $input |
40 | 40 | * @param int $offset |
41 | 41 | */ |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * create fileapi driver. |
38 | 38 | * |
39 | - * @return \Recca0120\Upload\Apis\FileAPI |
|
39 | + * @return Receiver |
|
40 | 40 | */ |
41 | 41 | protected function createFileapiDriver() |
42 | 42 | { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | /** |
47 | 47 | * create fileapi driver. |
48 | 48 | * |
49 | - * @return \Recca0120\Upload\Apis\Plupload |
|
49 | + * @return Receiver |
|
50 | 50 | */ |
51 | 51 | protected function createPluploadDriver() |
52 | 52 | { |
@@ -53,7 +53,6 @@ discard block |
||
53 | 53 | * receive. |
54 | 54 | * |
55 | 55 | * @param string $inputName |
56 | - * @param Closure $closure |
|
57 | 56 | * @return \Symfony\Component\HttpFoundation\Response |
58 | 57 | */ |
59 | 58 | public function receive($inputName = 'file', Closure $callback = null) |
@@ -103,7 +102,7 @@ discard block |
||
103 | 102 | * |
104 | 103 | * @param array $config |
105 | 104 | * @param string $class |
106 | - * @return \Recca0120\Upload\Contracts\Api |
|
105 | + * @return Receiver |
|
107 | 106 | */ |
108 | 107 | public static function factory($config = [], $class = FileAPI::class) |
109 | 108 | { |