From c1b783b8d40c5ea3b009a1be59f843524aed27d9 Mon Sep 17 00:00:00 2001 From: Enzo Innocenzi Date: Sat, 2 Nov 2024 05:52:22 +0100 Subject: [PATCH] style: apply fixes from phpstan --- .../Console/src/Components/Static/StaticSearchComponent.php | 1 + src/Tempest/Console/src/Testing/ConsoleTester.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Tempest/Console/src/Components/Static/StaticSearchComponent.php b/src/Tempest/Console/src/Components/Static/StaticSearchComponent.php index 7e837b32b..4e279896b 100644 --- a/src/Tempest/Console/src/Components/Static/StaticSearchComponent.php +++ b/src/Tempest/Console/src/Components/Static/StaticSearchComponent.php @@ -11,6 +11,7 @@ final readonly class StaticSearchComponent implements StaticConsoleComponent { private const string SEARCH_AGAIN = 'Search again'; + private const string CANCEL = 'Cancel'; public function __construct( diff --git a/src/Tempest/Console/src/Testing/ConsoleTester.php b/src/Tempest/Console/src/Testing/ConsoleTester.php index 549b82e25..46dddb398 100644 --- a/src/Tempest/Console/src/Testing/ConsoleTester.php +++ b/src/Tempest/Console/src/Testing/ConsoleTester.php @@ -296,7 +296,7 @@ public function withPrompting(): self public function dd(): self { - dd($this->output->asFormattedString()); + ld($this->output->asFormattedString()); return $this; }