Skip to content

Commit ab9ef3c

Browse files
committed
Compatible with the lumen
1 parent d648626 commit ab9ef3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/AliyunServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ class AliyunServiceProvider extends ServiceProvider
1919
*/
2020
public function register()
2121
{
22+
if ($this->app instanceof \Laravel\Lumen\Application) {
23+
return;
24+
}
25+
2226
$this->registerConfig();
2327
}
2428

0 commit comments

Comments
 (0)