From 2bc8a97b0fb74cd4ee3213a1bb573fc001192ae1 Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Thu, 17 Nov 2022 07:57:01 +0100 Subject: [PATCH] Formatting --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c01056a..ca82f67 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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.