Skip to content

Commit

Permalink
Merge pull request #589 from evarisk-micka/fix_dolibarr_20
Browse files Browse the repository at this point in the history
#588 [Class] fix: remove type for $isextrafieldmanaged
  • Loading branch information
nicolas-eoxia authored Jul 3, 2024
2 parents 373bd22 + f32ae0e commit 4dbdbae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions class/actions_dolisirh.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ class ActionsDoliSIRH
*/
public $results = array();

/**
* @var string String displayed by executeHook() immediately after return
*/
public $resprints;
/**
* @var string|null String displayed by executeHook() immediately after return
*/
public ?string $resprints;

/**
* Constructor
Expand Down
8 changes: 4 additions & 4 deletions class/timesheet.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class TimeSheet extends SaturneObject
/**
* @var int Does object support extrafields ? 0 = No, 1 = Yes.
*/
public int $isextrafieldmanaged = 1;
public $isextrafieldmanaged = 1;

/**
* @var string Name of icon for timesheet. Must be a 'fa-xxx' fontawesome code (or 'fa-xxx_fa_color_size') or 'timesheet@dolisirh' if picto is file 'img/object_timesheet.png'.
Expand Down Expand Up @@ -203,12 +203,12 @@ class TimeSheet extends SaturneObject
/**
* @var int User ID.
*/
public int $fk_user_creat;
public $fk_user_creat;

/**
* @var int|null User ID.
*/
public ?int $fk_user_modif;
public $fk_user_modif;

/**
* @var int|string|null Project ID.
Expand Down Expand Up @@ -393,7 +393,7 @@ class TimeSheetLine extends SaturneObject
/**
* @var int Does object support extrafields ? 0 = No, 1 = Yes.
*/
public int $isextrafieldmanaged = 1;
public $isextrafieldmanaged = 1;

/**
* 'type' field format:
Expand Down

0 comments on commit 4dbdbae

Please sign in to comment.