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();