mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
fix conditional value type
This commit is contained in:
parent
f6436911f1
commit
7412a2cc0a
|
|
@ -269,13 +269,13 @@ class DataMapperAbstract implements DataMapperInterface
|
|||
* Create a conditional value
|
||||
*
|
||||
* @param string $id Id of the conditional
|
||||
* @param string $value Value of the conditional
|
||||
* @param mixed $value Value of the conditional
|
||||
*
|
||||
* @return static
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function withConditional(string $id, string $value) /** @todo: return : static */
|
||||
public static function withConditional(string $id, $value) /** @todo: return : static */
|
||||
{
|
||||
self::$conditionals[$id] = $value;
|
||||
return static::class;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user