mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 04:14:05 +00:00
Check if closure is null in CreateStorageSymlinksAction
This commit is contained in:
parent
63386a1ef0
commit
c6268608d4
1 changed files with 3 additions and 1 deletions
|
|
@ -51,6 +51,8 @@ class CreateStorageSymlinksAction
|
||||||
|
|
||||||
event((new StorageSymlinkCreated($tenant)));
|
event((new StorageSymlinkCreated($tenant)));
|
||||||
|
|
||||||
$afterLinkCreation($publicPath, $storagePath);
|
if ($afterLinkCreation) {
|
||||||
|
$afterLinkCreation($publicPath, $storagePath);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue