14
14
15
15
class Builder extends BaseBuilder
16
16
{
17
-
18
17
/**
19
18
* Name of the index.
20
19
* @var string|null
@@ -91,29 +90,29 @@ class Builder extends BaseBuilder
91
90
92
91
/**
93
92
* Dedicated query for building FilterExpression.
94
- * @var Kitar\Dynamodb\Query\Builder
93
+ * @var \ Kitar\Dynamodb\Query\Builder
95
94
*/
96
95
protected $ filter_query ;
97
96
98
97
/**
99
98
* Dedicated query for building ConditionExpression.
100
- * @var Kitar\Dynamodb\Query\Builder
99
+ * @var \ Kitar\Dynamodb\Query\Builder
101
100
*/
102
101
protected $ condition_query ;
103
102
104
103
/**
105
104
* Dedicated query for building KeyConditionExpression.
106
- * @var Kitar\Dynamodb\Query\Builder
105
+ * @var \ Kitar\Dynamodb\Query\Builder
107
106
*/
108
107
protected $ key_condition_query ;
109
108
110
109
/**
111
110
* Create a new query builder instance.
112
111
*
113
- * @param Kitar\Dynamodb\Connection $connection
114
- * @param Kitar\Dynamodb\Query\Grammar $grammar
115
- * @param Kitar\Dynamodb\Query\Processor $processor
116
- * @param Kitar\Dynamodb\Query\ExpressionAttributes|null $expression_attributes
112
+ * @param \ Kitar\Dynamodb\Connection $connection
113
+ * @param \ Kitar\Dynamodb\Query\Grammar $grammar
114
+ * @param \ Kitar\Dynamodb\Query\Processor $processor
115
+ * @param \ Kitar\Dynamodb\Query\ExpressionAttributes|null $expression_attributes
117
116
* @param bool $is_nested_query
118
117
* @return void
119
118
*/
@@ -125,7 +124,7 @@ public function __construct(Connection $connection, Grammar $grammar, Processor
125
124
126
125
$ this ->processor = $ processor ;
127
126
128
- $ this ->expression_attributes = $ expression_attributes ?? new ExpressionAttributes ;
127
+ $ this ->expression_attributes = $ expression_attributes ?? new ExpressionAttributes () ;
129
128
130
129
if (! $ is_nested_query ) {
131
130
$ this ->initializeDedicatedQueries ();
@@ -336,7 +335,7 @@ public function decrement($column, $amount = 1, array $extra = [])
336
335
* @param $symbol
337
336
* @param int $amount
338
337
* @param array $extra
339
- * @return array|\Aws\Result|Aws\Result|Illuminate\Support\Collection
338
+ * @return array|\Aws\Result|Aws\Result|\ Illuminate\Support\Collection
340
339
*/
341
340
protected function incrementOrDecrement ($ column , $ symbol , $ amount = 1 , array $ extra = [])
342
341
{
@@ -350,7 +349,7 @@ protected function incrementOrDecrement($column, $symbol, $amount = 1, array $ex
350
349
/**
351
350
* Query.
352
351
*
353
- * @return Illuminate\Support\Collection|array
352
+ * @return \ Illuminate\Support\Collection|array
354
353
*/
355
354
public function query ()
356
355
{
@@ -361,7 +360,7 @@ public function query()
361
360
* Scan.
362
361
*
363
362
* @param array $columns
364
- * @return Illuminate\Support\Collection|array
363
+ * @return \ Illuminate\Support\Collection|array
365
364
*/
366
365
public function scan ($ columns = [])
367
366
{
@@ -518,12 +517,12 @@ public function newQuery()
518
517
* @param string $query_method
519
518
* @param array $params
520
519
* @param string $processor_method
521
- * @return array|Illuminate\Support\Collection|Aws\Result
520
+ * @return array|\ Illuminate\Support\Collection|\ Aws\Result
522
521
*/
523
522
protected function process ($ query_method , $ processor_method )
524
523
{
525
524
// Compile columns and wheres attributes.
526
- // These attributes needs to intaract with ExpressionAttributes during compile,
525
+ // These attributes needs to interact with ExpressionAttributes during compile,
527
526
// so it need to run before compileExpressionAttributes.
528
527
$ params = array_merge (
529
528
$ this ->grammar ->compileProjectionExpression ($ this ->columns , $ this ->expression_attributes ),
0 commit comments