mirror of
http://124.126.16.154:8888/singularity/hdk-pay.git
synced 2026-01-15 05:55:08 +08:00
refactor(Domain): 重构 ExchangeRepoInterface 接口
-将 getRate 方法的 $uid 参数类型从 string 改为 ?string
This commit is contained in:
@@ -16,8 +16,8 @@ interface ExchangeRepoInterface
|
||||
/**
|
||||
* @param PointType $source
|
||||
* @param PointType $target
|
||||
* @param string $uid
|
||||
* @param string|null $uid
|
||||
* @return float
|
||||
*/
|
||||
public function getRate(PointType $source, PointType $target, string $uid): float;
|
||||
public function getRate(PointType $source, PointType $target, ?string $uid = null): float;
|
||||
}
|
||||
Reference in New Issue
Block a user