cleanup
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Lucent;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Lucent\Edge\Event\EdgesUpdated;
|
||||
|
||||
class LucentEventServiceProvider extends ServiceProvider
|
||||
{
|
||||
protected $listen = [
|
||||
EdgesUpdated::class => [
|
||||
SendEmailVerificationNotification::class,
|
||||
],
|
||||
];
|
||||
}
|
||||
@@ -12,7 +12,6 @@ use Lucent\Commands\CompileSchemas;
|
||||
use Lucent\Commands\LiveLink;
|
||||
use Lucent\Commands\RebuildThumbnails;
|
||||
use Lucent\Commands\RemoveOrphanEdges;
|
||||
use Lucent\Event\Dispatcher;
|
||||
use Lucent\File\FileService;
|
||||
use Lucent\File\ImageService;
|
||||
use Lucent\Query\DatabaseGraph\DatabaseGraph;
|
||||
@@ -30,10 +29,6 @@ class LucentServiceProvider extends ServiceProvider
|
||||
return ChannelService::fromConfig();
|
||||
});
|
||||
|
||||
$this->app->singleton(Dispatcher::class, function () {
|
||||
return new Dispatcher();
|
||||
});
|
||||
|
||||
$this->app->bind(ImageManager::class, function () {
|
||||
return new ImageManager(['driver' => 'imagick']);
|
||||
});
|
||||
@@ -45,7 +40,6 @@ class LucentServiceProvider extends ServiceProvider
|
||||
};
|
||||
});
|
||||
|
||||
$this->app->register(LucentEventServiceProvider::class);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ final class FilterParser
|
||||
|
||||
return new Argument(
|
||||
field: "id",
|
||||
operator: In::make(),
|
||||
operator: new In(),
|
||||
value: $sourceIds
|
||||
);
|
||||
|
||||
|
||||
@@ -15,9 +15,6 @@ abstract class Operator
|
||||
*/
|
||||
public string $converter;
|
||||
|
||||
public static function make(): Operator
|
||||
{
|
||||
return new static();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user