diff --git a/composer.json b/composer.json index 8df2c10..8035f06 100755 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "email": "cdaniel@awobaz.com" } ], - "require": { + "require": { "illuminate/database": ">=5.6 <12.0" }, "require-dev": { diff --git a/src/Database/Eloquent/Relations/BelongsTo.php b/src/Database/Eloquent/Relations/BelongsTo.php index b96e59e..7940a16 100755 --- a/src/Database/Eloquent/Relations/BelongsTo.php +++ b/src/Database/Eloquent/Relations/BelongsTo.php @@ -54,7 +54,7 @@ public function associate($model) $relationName = property_exists($this, 'relationName') ? $this->relationName : $this->relation; if ($model instanceof Model) { $this->child->setRelation($relationName, $model); - // proper unset // https://github.com/illuminate/database/commit/44411c7288fc7b7d4e5680cfcdaa46d348b5c981 + // proper unset // https://github.com/illuminate/database/commit/44411c7288fc7b7d4e5680cfcdaa46d348b5c981 } elseif ($this->child->isDirty($this->foreignKey)) { $this->child->unsetRelation($relationName); }