From 4c057ece8d51c81327b02473981f3050605b2bb6 Mon Sep 17 00:00:00 2001 From: railken Date: Thu, 28 Mar 2024 22:23:46 +0000 Subject: [PATCH] Apply style changes --- composer.json | 3 ++- src/DataSchema/Helper.php | 2 +- src/Providers/DataSchemaServiceProvider.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index ae7981e..17c096f 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,8 @@ "amethyst/relation-schema": "0.3.*" }, "require-dev": { - "orchestra/testbench": "*" + "orchestra/testbench": "*", + "friendsofphp/php-cs-fixer": "^3.52" }, "autoload": { "psr-4" : { diff --git a/src/DataSchema/Helper.php b/src/DataSchema/Helper.php index 9df779a..7395d42 100644 --- a/src/DataSchema/Helper.php +++ b/src/DataSchema/Helper.php @@ -6,7 +6,7 @@ class Helper { - const PREFIX = ''; + public const PREFIX = ''; public static function toTable(string $name) { diff --git a/src/Providers/DataSchemaServiceProvider.php b/src/Providers/DataSchemaServiceProvider.php index 2904ac5..4c831fe 100644 --- a/src/Providers/DataSchemaServiceProvider.php +++ b/src/Providers/DataSchemaServiceProvider.php @@ -15,7 +15,7 @@ public function register() { $this->app->register(\Amethyst\Providers\AttributeSchemaServiceProvider::class); $this->app->register(\Amethyst\Providers\RelationSchemaServiceProvider::class); - + parent::register();