Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Oct 13, 2024
1 parent 67f4308 commit 0f40803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Executor/Master.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

function spinner(string $message = ''): string
{
$frame = FRAMES[(int)((int)(new \DateTime())->format('u') / 1e5) % count(FRAMES)];
$frame = FRAMES[(int) ((int) (new \DateTime())->format('u') / 1e5) % count(FRAMES)];
return " $frame $message\r";
}

Expand Down Expand Up @@ -76,7 +76,7 @@ public function __construct(
*/
public function run(array $tasks, array $hosts, ?Planner $plan = null): int
{
$globalLimit = (int)$this->input->getOption('limit') ?: count($hosts);
$globalLimit = (int) $this->input->getOption('limit') ?: count($hosts);

foreach ($tasks as $task) {
if (!$plan) {
Expand Down

0 comments on commit 0f40803

Please sign in to comment.