Skip to content

Commit 2272c47

Browse files
committed
Added exception method and cleaned non-used
1 parent c6b82cb commit 2272c47

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

Exception/InvalidFormatException.php

+3-15
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ public static function appUUIDFormatNotValid(): self
155155
/**
156156
* Campaign format not valid.
157157
*
158-
* @param mixed $campaignBeforeHydration
158+
* @param mixed $interactionBeforeHydration
159159
*
160160
* @return InvalidFormatException
161161
*/
162-
public static function campaignFormatNotValid($campaignBeforeHydration): self
162+
public static function interactionFormatNotValid($interactionBeforeHydration): self
163163
{
164-
return new static('Campaign Format not valid. Expecting a Campaign serialized but found malformed data');
164+
return new static('Interaction Format not valid. Expecting an Interaction serialized but found malformed data');
165165
}
166166

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

179-
/**
180-
* Boost clause format not valid.
181-
*
182-
* @param mixed $boostClauseBeforeHydration
183-
*
184-
* @return InvalidFormatException
185-
*/
186-
public static function boostClauseFormatNotValid($boostClauseBeforeHydration): self
187-
{
188-
return new static('Boost clause Format not valid. Expecting a Boost clause serialized but found malformed data');
189-
}
190-
191179
/**
192180
* Token uuid format not valid.
193181
*

0 commit comments

Comments
 (0)