Skip to content

Commit 23d5e84

Browse files
datpmworkmnapoli
andauthored
Apply suggestions from code review
Co-authored-by: Matthieu Napoli <[email protected]>
1 parent e985f98 commit 23d5e84

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/Commands/Tinker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected function configure(): void
2020

2121
$this
2222
->setName('tinker')
23-
->setDescription('Run a Tinker shell in the lambda');
23+
->setDescription('Run Laravel Tinker in AWS Lambda');
2424
parent::configure();
2525
}
2626

src/Tinker/BrefTinkerLoopListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function onExecute(Shell $shell, string $code)
4343
// Evaluate the current code buffer
4444
try {
4545
$command = new Command();
46-
$args = join(" ", [
46+
$args = implode(" ", [
4747
'bref:tinker',
4848
'--execute=\"'.base64_encode($code).'\"',
4949
'--context=\"'.$context.'\"',

src/Tinker/BrefTinkerShell.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
class BrefTinkerShell extends Shell
1010
{
11-
/**
12-
* @var ShellOutput
13-
*/
14-
public $rawOutput;
11+
public ShellOutput $rawOutput;
1512

1613
protected string $commandInput;
1714

0 commit comments

Comments
 (0)