From fd8a6953f3df2e10abaccd357675c2e5d3d71c22 Mon Sep 17 00:00:00 2001 From: marcdeb1 Date: Sat, 26 Jan 2019 22:21:50 +0100 Subject: [PATCH] Deprecation warnings --- src/Model/Table/AddressesTable.php | 4 ++-- src/Model/Table/BlocksTable.php | 4 ++-- src/Model/Table/ClaimsTable.php | 4 ++-- src/Model/Table/InputsTable.php | 4 ++-- src/Model/Table/OutputsTable.php | 4 ++-- src/Model/Table/PriceHistoryTable.php | 4 ++-- src/Model/Table/TagAddressRequestsTable.php | 4 ++-- src/Model/Table/TransactionAddressesTable.php | 3 +-- src/Model/Table/TransactionsTable.php | 4 ++-- 9 files changed, 17 insertions(+), 18 deletions(-) diff --git a/src/Model/Table/AddressesTable.php b/src/Model/Table/AddressesTable.php index daa47f2..b710896 100644 --- a/src/Model/Table/AddressesTable.php +++ b/src/Model/Table/AddressesTable.php @@ -8,8 +8,8 @@ class AddressesTable extends Table { public function initialize(array $config) { parent::initialize($config); - $this->primaryKey('id'); - $this->table('address'); + $this->setPrimaryKey('id'); + $this->setTable('address'); $this->addBehavior('SimpleAudit'); } diff --git a/src/Model/Table/BlocksTable.php b/src/Model/Table/BlocksTable.php index bc58288..4ef0f17 100644 --- a/src/Model/Table/BlocksTable.php +++ b/src/Model/Table/BlocksTable.php @@ -8,8 +8,8 @@ class BlocksTable extends Table { public function initialize(array $config) { parent::initialize($config); - $this->primaryKey('id'); - $this->table('block'); + $this->setPrimaryKey('id'); + $this->setTable('block'); $this->addBehavior('SimpleAudit'); } diff --git a/src/Model/Table/ClaimsTable.php b/src/Model/Table/ClaimsTable.php index c3a6296..c7fb547 100644 --- a/src/Model/Table/ClaimsTable.php +++ b/src/Model/Table/ClaimsTable.php @@ -8,8 +8,8 @@ class ClaimsTable extends Table { public function initialize(array $config) { parent::initialize($config); - $this->primaryKey('id'); - $this->table('claim'); + $this->setPrimaryKey('id'); + $this->setTable('claim'); //$this->addBehavior('SimpleAudit'); $this->addAssociations([ diff --git a/src/Model/Table/InputsTable.php b/src/Model/Table/InputsTable.php index 58776b6..5ef080d 100644 --- a/src/Model/Table/InputsTable.php +++ b/src/Model/Table/InputsTable.php @@ -8,8 +8,8 @@ class InputsTable extends Table { public function initialize(array $config) { parent::initialize($config); - $this->primaryKey('id'); - $this->table('input'); + $this->setPrimaryKey('id'); + $this->setTable('input'); $this->addBehavior('SimpleAudit'); diff --git a/src/Model/Table/OutputsTable.php b/src/Model/Table/OutputsTable.php index dbb58fc..5967478 100644 --- a/src/Model/Table/OutputsTable.php +++ b/src/Model/Table/OutputsTable.php @@ -8,8 +8,8 @@ class OutputsTable extends Table { public function initialize(array $config) { parent::initialize($config); - $this->primaryKey('id'); - $this->table('output'); + $this->setPrimaryKey('id'); + $this->setTable('output'); $this->addBehavior('SimpleAudit'); diff --git a/src/Model/Table/PriceHistoryTable.php b/src/Model/Table/PriceHistoryTable.php index 1b9fe02..74c2a09 100644 --- a/src/Model/Table/PriceHistoryTable.php +++ b/src/Model/Table/PriceHistoryTable.php @@ -8,8 +8,8 @@ class PriceHistoryTable extends Table { public function initialize(array $config) { parent::initialize($config); - $this->primaryKey('Id'); - $this->table('PriceHistory'); + $this->setPrimaryKey('Id'); + $this->setTable('PriceHistory'); } } diff --git a/src/Model/Table/TagAddressRequestsTable.php b/src/Model/Table/TagAddressRequestsTable.php index 51af76e..d106ca9 100644 --- a/src/Model/Table/TagAddressRequestsTable.php +++ b/src/Model/Table/TagAddressRequestsTable.php @@ -8,8 +8,8 @@ class TagAddressRequestsTable extends Table { public function initialize(array $config) { parent::initialize($config); - $this->primaryKey('Id'); - $this->table('TagAddressRequests'); + $this->setPrimaryKey('Id'); + $this->setTable('TagAddressRequests'); $this->addBehavior('SimpleAudit'); } diff --git a/src/Model/Table/TransactionAddressesTable.php b/src/Model/Table/TransactionAddressesTable.php index 2ec8057..29d090a 100644 --- a/src/Model/Table/TransactionAddressesTable.php +++ b/src/Model/Table/TransactionAddressesTable.php @@ -8,8 +8,7 @@ class TransactionAddressesTable extends Table { public function initialize(array $config) { parent::initialize($config); - $this->table('transaction_address'); - + $this->setTable('transaction_address'); $this->addBehavior('SimpleAudit'); } } diff --git a/src/Model/Table/TransactionsTable.php b/src/Model/Table/TransactionsTable.php index 7d1a180..28c010d 100644 --- a/src/Model/Table/TransactionsTable.php +++ b/src/Model/Table/TransactionsTable.php @@ -8,8 +8,8 @@ class TransactionsTable extends Table { public function initialize(array $config) { parent::initialize($config); - $this->primaryKey('id'); - $this->table('transaction'); + $this->setPrimaryKey('id'); + $this->setTable('transaction'); $this->addBehavior('SimpleAudit'); }