mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 23:08:41 +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
|
* Create a conditional value
|
||||||
*
|
*
|
||||||
* @param string $id Id of the conditional
|
* @param string $id Id of the conditional
|
||||||
* @param string $value Value of the conditional
|
* @param mixed $value Value of the conditional
|
||||||
*
|
*
|
||||||
* @return static
|
* @return static
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @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;
|
self::$conditionals[$id] = $value;
|
||||||
return static::class;
|
return static::class;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user