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