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

Commit 0b372f9

Browse files
committed
update function eventSupport
1 parent d79b33c commit 0b372f9

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)