Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
alphaolomi authored and github-actions[bot] committed Jul 22, 2023
1 parent 9a0697c commit 2ca7409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/HasNotes.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function firstNote(): MorphMany
*/
public function addNote(string $content, Model $user = null, IsNote $parent = null)
{
$note = $this->notes()->create([
$note = $this->notes()->create([
'content' => $content,
'user_id' => $user ? $user->getKey() : Auth::id(),
'parent_id' => $parent ? $parent?->getKey() : null,
Expand Down

0 comments on commit 2ca7409

Please sign in to comment.