From 8a0d99e46391c42f1ee7d6d69dae22f337b57ed7 Mon Sep 17 00:00:00 2001 From: Jiannei Date: Thu, 4 Feb 2021 08:43:51 +0000 Subject: [PATCH] Apply fixes from StyleCI --- config/response.php | 2 +- src/Support/Serializers/ArraySerializer.php | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/config/response.php b/config/response.php index 3e57bea..61ff491 100644 --- a/config/response.php +++ b/config/response.php @@ -16,7 +16,7 @@ 'format' => [ 'paginated_resource' => [ - 'data_field' => 'data' + 'data_field' => 'data', ], ], ]; diff --git a/src/Support/Serializers/ArraySerializer.php b/src/Support/Serializers/ArraySerializer.php index 32c950d..cfb45a7 100644 --- a/src/Support/Serializers/ArraySerializer.php +++ b/src/Support/Serializers/ArraySerializer.php @@ -1,5 +1,14 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace Jiannei\Response\Laravel\Support\Serializers; use Illuminate\Support\Facades\Config;