Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ChangeTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static function getTypeName($nb = 0)
/**
* Populate the planning with planned ticket tasks
*
* @param $options array of possible options:
* @param array $options array of possible options:
* - who ID of the user (0 = undefined)
* - whogroup ID of the group of users (0 = undefined)
* - begin Date
Expand Down Expand Up @@ -76,7 +76,7 @@ public static function displayPlanningItem(array $val, $who, $type = "", $comple
/**
* Populate the planning with not planned ticket tasks
*
* @param $options array of possible options:
* @param array $options array of possible options:
* - who ID of the user (0 = undefined)
* - whogroup ID of the group of users (0 = undefined)
* - begin Date
Expand Down
6 changes: 6 additions & 0 deletions src/Change_Problem.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $
* Show tickets for a problem
*
* @param Problem $problem
* @return false
**/
public static function showForProblem(Problem $problem)
{
Expand Down Expand Up @@ -188,12 +189,15 @@ public static function showForProblem(Problem $problem)
'container' => 'mass' . static::class . $rand,
],
]);

return false;
}

/**
* Show problems for a change
*
* @param Change $change object
* @return false
**/
public static function showForChange(Change $change)
{
Expand Down Expand Up @@ -279,5 +283,7 @@ public static function showForChange(Change $change)
'container' => 'mass' . static::class . $rand,
],
]);

return false;
}
}
2 changes: 2 additions & 0 deletions src/Change_Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ public static function processMassiveActionsForOneItemtype(
* Show tickets for a change
*
* @param Change $change
* @return void|false
**/
public static function showForChange(Change $change)
{
Expand Down Expand Up @@ -307,6 +308,7 @@ public static function showForChange(Change $change)
* Show changes for a ticket
*
* @param Ticket $ticket object
* @return void|false
**/
public static function showForTicket(Ticket $ticket)
{
Expand Down
1 change: 1 addition & 0 deletions src/CommonITILRecurrent.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
*/
abstract class CommonITILRecurrent extends CommonDropdown
{
/** @use Clonable<static> */
use Clonable;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/ProblemTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function getTypeName($nb = 0)
/**
* Populate the planning with planned problem tasks
*
* @param $options array of possible options:
* @param array $options array of possible options:
* - who ID of the user (0 = undefined)
* - whogroup ID of the group of users (0 = undefined)
* - begin Date
Expand Down Expand Up @@ -75,7 +75,7 @@ public static function displayPlanningItem(array $val, $who, $type = "", $comple
/**
* Populate the planning with not planned problem tasks
*
* @param $options array of possible options:
* @param array $options array of possible options:
* - who ID of the user (0 = undefined)
* - whogroup ID of the group of users (0 = undefined)
* - begin Date
Expand Down
6 changes: 6 additions & 0 deletions src/Problem_Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ public static function processMassiveActionsForOneItemtype(
* Show tickets for a problem
*
* @param Problem $problem
* @return false
**/
public static function showForProblem(Problem $problem)
{
Expand Down Expand Up @@ -260,12 +261,15 @@ public static function showForProblem(Problem $problem)
'extraparams' => ['problems_id' => $problem->getID()],
],
]);

return false;
}

/**
* Show problems for a ticket
*
* @param Ticket $ticket object
* @return false
**/
public static function showForTicket(Ticket $ticket)
{
Expand Down Expand Up @@ -331,6 +335,8 @@ public static function showForTicket(Ticket $ticket)
'container' => 'mass' . static::class . $rand,
],
]);

return false;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/TicketTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function getTypeName($nb = 0)
/**
* Populate the planning with planned ticket tasks
*
* @param $options array of possible options:
* @param array $options array of possible options:
* - who ID of the user (0 = undefined)
* - whogroup ID of the group of users (0 = undefined)
* - begin Date
Expand All @@ -60,7 +60,7 @@ public static function populatePlanning($options = []): array
/**
* Populate the planning with planned ticket tasks
*
* @param $options array of possible options:
* @param array $options array of possible options:
* - who ID of the user (0 = undefined)
* - whogroup ID of the group of users (0 = undefined)
* - begin Date
Expand Down