Skip to content

Commit

Permalink
Fix StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 committed Feb 28, 2024
1 parent 25a4ed2 commit f76b031
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"email": "[email protected]"
}
],
"require": {
"require": {
"illuminate/database": ">=5.6 <12.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Database/Eloquent/Relations/BelongsTo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f76b031

Please sign in to comment.