From 77f58337ff6a3d054d7f8a007fc8d5ded10b6f0b Mon Sep 17 00:00:00 2001 From: Maarten Staa Date: Fri, 11 Jun 2021 16:25:31 +0200 Subject: [PATCH] Fix Psalm errors on different Laravel versions. --- src/Commands/RegisterSchema.php | 4 ---- src/Commands/SubmitTracing.php | 14 +------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/Commands/RegisterSchema.php b/src/Commands/RegisterSchema.php index 77db211..b0c27d4 100644 --- a/src/Commands/RegisterSchema.php +++ b/src/Commands/RegisterSchema.php @@ -45,15 +45,11 @@ class RegisterSchema extends Command /** * The name and signature of the console command. - * - * @var string */ protected $signature = 'lighthouse-apollo:register-schema'; /** * The console command description. - * - * @var string */ protected $description = 'Send the current schema to Apollo Studio'; diff --git a/src/Commands/SubmitTracing.php b/src/Commands/SubmitTracing.php index 325f6de..331e5d0 100644 --- a/src/Commands/SubmitTracing.php +++ b/src/Commands/SubmitTracing.php @@ -16,30 +16,18 @@ class SubmitTracing extends Command { /** * The name and signature of the console command. - * - * @var string */ protected $signature = 'lighthouse-apollo:submit-tracing'; /** * The console command description. - * - * @var string */ protected $description = 'Send the pending tracing results from Redis or the database to Apollo Studio.'; - /** - * @var Config - */ private Config $config; - /** - * @var SchemaSourceProvider - */ private SchemaSourceProvider $schemaSourceProvider; - /** - * @var RedisConnector - */ + private RedisConnector $redisConnector; /**