Skip to content

Commit efb8ec3

Browse files
committed
Use PSR coding standards
1 parent 18420ef commit efb8ec3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Kitar/Dynamodb/Model/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static function find($key)
110110
}
111111

112112
if (is_string($key) || is_numeric($key)) {
113-
$model = new static;
113+
$model = new static();
114114
$model->setAttribute($model->getKeyName(), $key);
115115
$key = $model->getKey();
116116
}

src/Kitar/Dynamodb/Query/Builder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
class Builder extends BaseBuilder
1616
{
17-
1817
/**
1918
* Name of the index.
2019
* @var string|null
@@ -125,7 +124,7 @@ public function __construct(Connection $connection, Grammar $grammar, Processor
125124

126125
$this->processor = $processor;
127126

128-
$this->expression_attributes = $expression_attributes ?? new ExpressionAttributes;
127+
$this->expression_attributes = $expression_attributes ?? new ExpressionAttributes();
129128

130129
if (! $is_nested_query) {
131130
$this->initializeDedicatedQueries();

0 commit comments

Comments
 (0)