mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
try to fix static return
This commit is contained in:
parent
440d00ec6b
commit
3fc7c0c233
|
|
@ -336,11 +336,11 @@ class DataMapperAbstract implements DataMapperInterface
|
|||
* @param string[] $models Models to apply the conditional on
|
||||
* @param string $comparison Comparison operator
|
||||
*
|
||||
* @return static
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function withConditional(string $id, mixed $value, array $models = [], string $comparison = '=') : static
|
||||
public static function withConditional(string $id, mixed $value, array $models = [], string $comparison = '=') : string
|
||||
{
|
||||
self::$conditionals[$id] = [
|
||||
'value' => $value,
|
||||
|
|
@ -348,7 +348,7 @@ class DataMapperAbstract implements DataMapperInterface
|
|||
'comparison' => $comparison,
|
||||
];
|
||||
|
||||
/** @var static */
|
||||
/** @var string */
|
||||
return static::class;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user