Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Nov 11, 2024
1 parent f0684c7 commit ba49e11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Resources/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,23 +310,23 @@ public function modelTitle(Model $model): string
}

/**
* Determine whether the resuorce model has root events.
* Determine whether the resource model has root events.
*/
public function hasRootEvents(): bool
{
return in_array(HasRootEvents::class, class_uses_recursive($this->getModel()));
}

/**
* Resovle the events field.
* Resolve the events field.
*/
public function resolveEventsField(Request $request): ?Events
{
return $this->hasRootEvents() ? new Events : null;
}

/**
* Determine whether the resuorce model has root events.
* Determine whether the resource model has root events.
*/
public function translatable(): bool
{
Expand Down

0 comments on commit ba49e11

Please sign in to comment.