Skip to content

Commit

Permalink
method parameters must not come before the required ones as of php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Dec 15, 2024
1 parent 92abee3 commit bbaa7c4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/src/Model/Table/PetitionHistoryRecordsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,22 +132,22 @@ public function generateDisplayField(\App\Model\Entity\JobHistoryRecord $entity)

return __d('controller', 'PetitionHistoryRecords', [1]);
}

/**
* Record a Petition History Record.
*
* @since COmanage Registry v5.0.0
* @param int $petitionId Petition ID
* @param string $enrollmentFlowStepId Enrollment Flow Step ID, or null for start or finalize
* @param string $action PetitionActionEnum
* @param string $comment Comment
* @param int $actorPersonId Actor Person ID
* @param int $petitionId Petition ID
* @param int|null $enrollmentFlowStepId Enrollment Flow Step ID, or null for start or finalize
* @param string $action PetitionActionEnum
* @param string $comment Comment
* @param int|null $actorPersonId Actor Person ID
* @return int Petition History Record ID
*/

public function record(
int $petitionId,
?int $enrollmentFlowStepId=null,
?int $enrollmentFlowStepId,
string $action,
string $comment,
?int $actorPersonId=null
Expand Down

0 comments on commit bbaa7c4

Please sign in to comment.