Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Nov 17, 2022
1 parent cdee59e commit 2bc8a97
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ User::find($id)->descendants()->update(['active' => false]);
User::find($id)->siblings()->delete();
```

> **Note:** If you are using [barryvdh/laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper), this package provides
> a [model hook](https://github.com/barryvdh/laravel-ide-helper#model-hooks) that will correctly add relations when
> generating the type hints.
> **Note:** If you are using [barryvdh/laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper), this package
> provides a [model hook](https://github.com/barryvdh/laravel-ide-helper#model-hooks) that will correctly add relations
> when generating the type hints.
> To get the correct type hints, in
> the [ide-helper.php](https://github.com/barryvdh/laravel-ide-helper/blob/master/config/ide-helper.php) config file,
> add `\Staudenmeir\LaravelAdjacencyList\IdeHelper\RecursiveRelationsHook::class` to the `model_hooks` array.
Expand Down Expand Up @@ -709,9 +709,9 @@ Node::find($id)->descendants()->update(['active' => false]);
Node::find($id)->parents()->delete();
```

> **Note:** If you are using [barryvdh/laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper), this package provides
> a [model hook](https://github.com/barryvdh/laravel-ide-helper#model-hooks) that will correctly add relations when
> generating the type hints.
> **Note:** If you are using [barryvdh/laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper), this package
> provides a [model hook](https://github.com/barryvdh/laravel-ide-helper#model-hooks) that will correctly add relations
> when generating the type hints.
> To get the correct type hints, in
> the [ide-helper.php](https://github.com/barryvdh/laravel-ide-helper/blob/master/config/ide-helper.php) config file,
> add `\Staudenmeir\LaravelAdjacencyList\IdeHelper\RecursiveRelationsHook::class` to the `model_hooks` array.
Expand Down

0 comments on commit 2bc8a97

Please sign in to comment.