1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 00:14:04 +00:00

Check if closure is null in CreateStorageSymlinksAction

This commit is contained in:
lukinovec 2022-08-23 14:48:40 +02:00
parent 63386a1ef0
commit c6268608d4

View file

@ -51,6 +51,8 @@ class CreateStorageSymlinksAction
event((new StorageSymlinkCreated($tenant)));
$afterLinkCreation($publicPath, $storagePath);
if ($afterLinkCreation) {
$afterLinkCreation($publicPath, $storagePath);
}
}
}