Skip to content

Commit beadbd7

Browse files
committed
Fix missing return
1 parent 8d42820 commit beadbd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Commands/SearchLog.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Devdot\LogArtisan\Commands;
44

55
use Devdot\LogArtisan\Models\LogRecord;
6+
use Symfony\Component\Console\Command\Command;
67
use Symfony\Component\Console\Input\InputArgument;
78

89
class SearchLog extends ShowLog {
@@ -20,6 +21,8 @@ public function handle() {
2021
$this->filter['search'] = $this->argument('search');
2122
$this->line('Running search via log:show for <bg=yellow>'.$this->filter['search'].'</>');
2223
parent::handle();
24+
25+
return Command::SUCCESS;
2326
}
2427

2528
protected function addHighlightingToRecord(LogRecord $record): LogRecord {

0 commit comments

Comments
 (0)