Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.
Merged
Changes from all 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
18 changes: 3 additions & 15 deletions Exception/InvalidFormatException.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ public static function appUUIDFormatNotValid(): self
/**
* Campaign format not valid.
*
* @param mixed $campaignBeforeHydration
* @param mixed $interactionBeforeHydration
*
* @return InvalidFormatException
*/
public static function campaignFormatNotValid($campaignBeforeHydration): self
public static function interactionFormatNotValid($interactionBeforeHydration): self
{
return new static('Campaign Format not valid. Expecting a Campaign serialized but found malformed data');
return new static('Interaction Format not valid. Expecting an Interaction serialized but found malformed data');
}

/**
Expand All @@ -176,18 +176,6 @@ public static function changesFormatNotValid($changesBeforeHydration): self
return new static('Changes Format not valid. Expecting a Changes serialized but found malformed data');
}

/**
* Boost clause format not valid.
*
* @param mixed $boostClauseBeforeHydration
*
* @return InvalidFormatException
*/
public static function boostClauseFormatNotValid($boostClauseBeforeHydration): self
{
return new static('Boost clause Format not valid. Expecting a Boost clause serialized but found malformed data');
}

/**
* Token uuid format not valid.
*
Expand Down