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;