Skip to content

A self-hosted media server and file management system

chore: code smells

aminnausin987654b691e1
diff --git a/app/Console/Commands/ScanFilesCommand.php b/app/Console/Commands/ScanFilesCommand.php
index 7f9d4ffb..9b03b199 100644
--- a/app/Console/Commands/ScanFilesCommand.php
+++ b/app/Console/Commands/ScanFilesCommand.php
@@ -21,10 +21,6 @@ class ScanFilesCommand extends Command {
*/
protected $description = 'Scan Media Files';
- public function __construct() {
- parent::__construct();
- }
-
public function handle(FileJobService $fileJobService) {
$this->info('Starting Scan Files');
diff --git a/app/Http/Middleware/MetadataSSR.php b/app/Http/Middleware/MetadataSSR.php
index 830bba70..a15aea5d 100644
--- a/app/Http/Middleware/MetadataSSR.php
+++ b/app/Http/Middleware/MetadataSSR.php
@@ -8,8 +8,6 @@ use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;
class MetadataSSR {
- public function __construct() {}
-
/**
* Handle an incoming request.
*
diff --git a/resources/js/types/types.ts b/resources/js/types/types.ts
index e2344d94..dc247462 100644
--- a/resources/js/types/types.ts
+++ b/resources/js/types/types.ts
@@ -144,8 +144,6 @@ export declare type Broadcaster = {
export declare type SortDir = 1 | -1;
-// export declare type FieldType = 'text' | 'textArea' | 'number' | 'date' | 'url' | 'multi' | 'select' | 'password' | 'email';
-
export type FormField = Omit<CedarFormField, 'type'> & {
type: FieldType | 'email';
};