add phpdoc (#34948)

This commit is contained in:
Frédéric FRANCE 2025-08-14 13:51:35 +02:00 committed by GitHub
parent 997e548a58
commit 73e5f5dcb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,6 +136,8 @@ if (empty($reshook)) {
// TODO : add this check at update_linked_resource and when modifying event start or end date
// check if an event resource is already in use
if (getDolGlobalString('RESOURCE_USED_IN_EVENT_CHECK') && $objstat->element == 'action' && $resource_type == 'dolresource' && intval($busy) == 1) {
/** @var ActionComm $objstat */
'@phan-var-force ActionComm $objstat';
$eventDateStart = $objstat->datep;
$eventDateEnd = $objstat->datef;
$isFullDayEvent = $objstat->fulldayevent;