@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | $deployer->hosts->set($aliases[0], $host); |
75 | 75 | return $host; |
76 | 76 | } else { |
77 | - $hosts = array_map(function ($hostname) use ($deployer): Host { |
|
77 | + $hosts = array_map(function($hostname) use ($deployer): Host { |
|
78 | 78 | $host = new Host($hostname); |
79 | 79 | $deployer->hosts->set($hostname, $host); |
80 | 80 | return $host; |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $deployer->hosts->set($host->getAlias(), $host); |
97 | 97 | return $host; |
98 | 98 | } else { |
99 | - $hosts = array_map(function ($hostname) use ($deployer): Localhost { |
|
99 | + $hosts = array_map(function($hostname) use ($deployer): Localhost { |
|
100 | 100 | $host = new Localhost($hostname); |
101 | 101 | $deployer->hosts->set($host->getAlias(), $host); |
102 | 102 | return $host; |
@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | { |
334 | 334 | $currentBecome = get('become'); |
335 | 335 | set('become', $user); |
336 | - return function () use ($currentBecome) { |
|
336 | + return function() use ($currentBecome) { |
|
337 | 337 | set('become', $currentBecome); |
338 | 338 | }; |
339 | 339 | } |
@@ -392,7 +392,7 @@ discard block |
||
392 | 392 | } |
393 | 393 | } |
394 | 394 | $options = array_merge($namedArguments, $options); |
395 | - $run = function ($command, $options = []): string { |
|
395 | + $run = function($command, $options = []): string { |
|
396 | 396 | $host = currentHost(); |
397 | 397 | |
398 | 398 | $command = parse($command); |