File tree Expand file tree Collapse file tree 7 files changed +11
-9
lines changed Expand file tree Collapse file tree 7 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 2525 "phpunit/phpunit" : " 5.7 || 6.0 || 7.0 || 7.5 || 8.4" ,
2626 "mockery/mockery" : " ^1.1.0" ,
2727 "friendsofphp/php-cs-fixer" : " ^2.16.0" ,
28- "overtrue/phplint" : " ^1.1"
28+ "overtrue/phplint" : " ^1.1" ,
29+ "nunomaduro/larastan" : " ^0.4.3" ,
30+ "phpstan/phpstan-shim" : " ^0.11.19" ,
31+ "orchestra/testbench" : " ^4.3"
2932 },
3033 "autoload" : {
3134 "psr-4" : {
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ abstract public function clearTimestampString();
4747 /**
4848 * Returns the schedule config array.
4949 *
50- * @return array< enable, cron>
50+ * @return array{ enable: bool, cron: string}
5151 */
5252 abstract public function scheduleConfig ();
5353
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function clearTimestampString()
6161 /**
6262 * Returns the shedule config array.
6363 *
64- * @return array< enable, cron>
64+ * @return array{ enable: bool, cron: string}
6565 */
6666 public function scheduleConfig ()
6767 {
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ class SingleUploadHandler extends AbstractHandler
1717 * Returns the chunks ave instance for saving.
1818 *
1919 * @param ChunkStorage $chunkStorage the chunk storage
20- * @param AbstractConfig $config the config manager
2120 *
2221 * @return SingleSave
2322 */
Original file line number Diff line number Diff line change @@ -97,6 +97,6 @@ public function receive()
9797 return false ;
9898 }
9999
100- return $ this ->handler ->startSaving ($ this ->chunkStorage , $ this -> config );
100+ return $ this ->handler ->startSaving ($ this ->chunkStorage );
101101 }
102102}
Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ public function getUploadedFile()
105105 /**
106106 * Passes all the function into the file.
107107 *
108- * @param $name string
109- * @param $arguments array
108+ * @param string $name
109+ * @param array $arguments
110110 *
111111 * @return mixed
112112 *
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public static function storage()
3232 /**
3333 * The disk that holds the chunk files.
3434 *
35- * @var FilesystemAdapter
35+ * @var \Illuminate\Filesystem\ FilesystemAdapter
3636 */
3737 protected $ disk ;
3838
@@ -172,7 +172,7 @@ public function config()
172172 }
173173
174174 /**
175- * @return FilesystemAdapter
175+ * @return \Illuminate\Filesystem\ FilesystemAdapter
176176 */
177177 public function disk ()
178178 {
You can’t perform that action at this time.
0 commit comments