Skip to content

Commit 2c99077

Browse files
committed
Use getTable() instead of referencing $table directly
1 parent e57c6ed commit 2c99077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Kitar/Dynamodb/Model/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function getKey()
9494
*/
9595
public function newQuery()
9696
{
97-
return $this->getConnection()->table($this->table)->usingModel(static::class);
97+
return $this->getConnection()->table($this->getTable())->usingModel(static::class);
9898
}
9999

100100
/**

0 commit comments

Comments
 (0)