Skip to content

Commit 0924e02

Browse files
aarondfrancisgithub-actions[bot]
authored andcommitted
Fix code styling [ci skip]
1 parent b0a0fec commit 0924e02

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Deployment.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
namespace Hammerstone\Sidecar;
77

88
use Exception;
9-
use Illuminate\Support\Str;
109
use Hammerstone\Sidecar\Clients\LambdaClient;
1110
use Hammerstone\Sidecar\Events\AfterFunctionsActivated;
1211
use Hammerstone\Sidecar\Events\AfterFunctionsDeployed;
1312
use Hammerstone\Sidecar\Events\BeforeFunctionsActivated;
1413
use Hammerstone\Sidecar\Events\BeforeFunctionsDeployed;
1514
use Hammerstone\Sidecar\Exceptions\NoFunctionsRegisteredException;
15+
use Illuminate\Support\Str;
1616

1717
class Deployment
1818
{
@@ -196,7 +196,7 @@ protected function warmLatestVersion(LambdaFunction $function)
196196
$results = Sidecar::warmSingle($function, $async = false, $version);
197197

198198
if ($warmed = count($results)) {
199-
Sidecar::log("Warmed $warmed " . Str::plural("instance", $warmed));
199+
Sidecar::log("Warmed $warmed " . Str::plural('instance', $warmed));
200200
} else {
201201
Sidecar::log('No instances warmed. If this is unexpected, confirm your `warmingConfig` method is set up correctly.');
202202
}

src/Runtime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ abstract class Runtime
1717
public const PYTHON_37 = 'python3.7';
1818

1919
public const RUBY_27 = 'ruby2.7';
20-
20+
2121
public const JAVA_11 = 'java11';
2222

2323
public const JAVA_8_LINUX2 = 'java8.al2';

0 commit comments

Comments
 (0)