Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored and github-actions[bot] committed Sep 11, 2024
1 parent fdc964d commit 56b6ca4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Concerns/FakesInputOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public static function fake(array $keys = []): void

/**
* Implementation of the looping mechanism for simulating key presses.
*
*
* By ignoring the `$callable` parameter which contains the default logic
* for simulating fake key presses, we can use a custom implementation
* to emit key presses instead, allowing us to use different inputs.
* to emit key presses instead, allowing us to use different inputs.
*
* @param array<string> $keys
* @param callable(string $key): void $callable
Expand Down
2 changes: 1 addition & 1 deletion src/Prompt.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function prompt(): mixed
*/
public function runLoop(callable $callable): mixed
{
while(($key = static::terminal()->read()) !== null) {
while (($key = static::terminal()->read()) !== null) {
$result = $callable($key);

if ($result instanceof Result) {
Expand Down
2 changes: 1 addition & 1 deletion src/Support/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

/**
* Result.
*
*
* This is a 'sentinel' value. It wraps a return value, which can
* allow us to differentiate between a `null` return value and
* a `null` return value that's intended to continue a loop.
Expand Down

0 comments on commit 56b6ca4

Please sign in to comment.