diff --git a/src/Clients/CloudWatchLogsClient.php b/src/Clients/CloudWatchLogsClient.php index ed69678..e095cf0 100644 --- a/src/Clients/CloudWatchLogsClient.php +++ b/src/Clients/CloudWatchLogsClient.php @@ -7,6 +7,4 @@ use Aws\CloudWatchLogs\CloudWatchLogsClient as BaseClient; -class CloudWatchLogsClient extends BaseClient -{ -} +class CloudWatchLogsClient extends BaseClient {} diff --git a/src/Clients/S3Client.php b/src/Clients/S3Client.php index 77278d5..a2414a1 100644 --- a/src/Clients/S3Client.php +++ b/src/Clients/S3Client.php @@ -4,6 +4,4 @@ use Aws\S3\S3Client as BaseClient; -class S3Client extends BaseClient -{ -} +class S3Client extends BaseClient {} diff --git a/src/Exceptions/ConfigurationException.php b/src/Exceptions/ConfigurationException.php index 89d01c1..a76a6e7 100644 --- a/src/Exceptions/ConfigurationException.php +++ b/src/Exceptions/ConfigurationException.php @@ -5,6 +5,4 @@ namespace Hammerstone\Sidecar\Exceptions; -class ConfigurationException extends SidecarException -{ -} +class ConfigurationException extends SidecarException {} diff --git a/src/Exceptions/LambdaExecutionException.php b/src/Exceptions/LambdaExecutionException.php index c992726..1aa1620 100644 --- a/src/Exceptions/LambdaExecutionException.php +++ b/src/Exceptions/LambdaExecutionException.php @@ -5,6 +5,4 @@ namespace Hammerstone\Sidecar\Exceptions; -class LambdaExecutionException extends SidecarException -{ -} +class LambdaExecutionException extends SidecarException {} diff --git a/src/Exceptions/SidecarException.php b/src/Exceptions/SidecarException.php index 9d4c83f..0501f82 100644 --- a/src/Exceptions/SidecarException.php +++ b/src/Exceptions/SidecarException.php @@ -7,6 +7,4 @@ use Exception; -class SidecarException extends Exception -{ -} +class SidecarException extends Exception {} diff --git a/src/Results/SettledResult.php b/src/Results/SettledResult.php index 0b824b1..fddc671 100644 --- a/src/Results/SettledResult.php +++ b/src/Results/SettledResult.php @@ -98,7 +98,7 @@ public function toResponse($request) * * @throws Exception */ - public function throw(?int $numberOfBacktraces) + public function throw(?int $numberOfBacktraces = null) { if (!$this->isError()) { return $this;