Skip to content

Commit b7f4a85

Browse files
committed
调整
1 parent 88e58ae commit b7f4a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/concern/RelationShip.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ public function hasMany(string $model, string $foreignKey = '', string $localKey
610610
*
611611
* @return HasManyThrough
612612
*/
613-
public function hasManyThrough(string $model, string $through, string $foreignKey = '', string $throughKey = ''): HasManyThrough
613+
public function hasManyThrough(string $model, string $through, string $foreignKey = '', string $throughKey = '', string $localKey = '', string $throughPk = ''): HasManyThrough
614614
{
615615
// 记录当前关联信息
616616
$model = $this->parseRelationModel($model);

0 commit comments

Comments
 (0)