Skip to content
This repository was archived by the owner on Aug 22, 2021. It is now read-only.

Commit 17a5e7f

Browse files
authored
Merge pull request overtrue#34 from codingyu/master
update function eventSupport
2 parents d79b33c + 0b372f9 commit 17a5e7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StorageManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function upload(Request $request)
9191
*/
9292
public function eventSupport()
9393
{
94-
return class_exists('Illuminate\Foundation\Events\Dispatchable');
94+
return trait_exists('Illuminate\Foundation\Events\Dispatchable');
9595
}
9696

9797
/**

0 commit comments

Comments
 (0)