From 2c8bcb5d4616e3ddffa79a3b6fac9a17fca4e98b Mon Sep 17 00:00:00 2001 From: tebe <tbreuss@users.noreply.github.com> Date: Thu, 30 Apr 2020 17:25:22 +0200 Subject: [PATCH] Format PHP code snippets --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4e6764a..e92abbd 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Edit `config/web.php`: ```php <?php + return [ ... 'bootstrap' => ['inertia'] @@ -87,6 +88,7 @@ Simply edit `config/web.php` file: ```php <?php + return [ 'components' => [ 'request' => [ @@ -109,6 +111,7 @@ Massive assignment of shared data: ```php <?php + $shared = [ 'user' => [ 'id' => $this->getUser()->id, @@ -126,6 +129,7 @@ Shared data for one key: ```php <?php + $user = [ 'id' => $this->getUser()->id, 'first_name' => $this->getUser()->firstName,