Skip to content

Commit deeb709

Browse files
committed
Removes redundant code
1 parent 259616d commit deeb709

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

Diff for: config/filament-syntax-entry.php

-5
This file was deleted.

Diff for: src/FilamentSyntaxEntryServiceProvider.php

-11
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,9 @@ public function configurePackage(Package $package): void
2121
$package->name(static::$name)
2222
->hasInstallCommand(function (InstallCommand $command) {
2323
$command
24-
->publishConfigFile()
2524
->askToStarRepoOnGitHub('parallax/filament-syntax-entry');
2625
});
2726

28-
$configFileName = $package->shortName();
29-
30-
if (file_exists($package->basePath("/../config/{$configFileName}.php"))) {
31-
$package->hasConfigFile();
32-
}
33-
34-
if (file_exists($package->basePath('/../resources/lang'))) {
35-
$package->hasTranslations();
36-
}
37-
3827
if (file_exists($package->basePath('/../resources/views'))) {
3928
$package->hasViews(static::$viewNamespace);
4029
}

0 commit comments

Comments
 (0)