Skip to content

Commit bc78b6b

Browse files
committed
Model::relation() metodunda fromColumn parametresi varsayılan değeri null yapıldı
1 parent 3858725 commit bc78b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ final public function purgeDeleted(): bool
409409
* @return $this
410410
* @throws \ReflectionException
411411
*/
412-
final public function relation($model, ?string $fromColumn, ?string $targetColumn = null, string $joinType = 'INNER'): self
412+
final public function relation($model, ?string $fromColumn = null, ?string $targetColumn = null, string $joinType = 'INNER'): self
413413
{
414414
$from = [
415415
'tableSchema' => $this->getSchema(),

0 commit comments

Comments
 (0)