@@ -529,7 +529,7 @@ class TableSchema implements TableSchemaInterface, SqlGeneratorInterface
*/
public function primaryKey(): array
{
- deprecationWarning('`TableSchema::primaryKey()` is deprecated. Use `TableSchema::getPrimaryKey()` instead.');
+ deprecationWarning('`TableSchema::primaryKey()` is deprecated. Use `TableSchema::getPrimaryKey()`.');
return $this->getPrimarykey();
}
@@ -107,7 +107,7 @@ class ArrayContext implements ContextInterface
- deprecationWarning('`ArrayContext::primaryKey()` is deprecated. Use `ArrayContext::getPrimaryKey()` instead.');
+ deprecationWarning('`ArrayContext::primaryKey()` is deprecated. Use `ArrayContext::getPrimaryKey()`.');
return $this->getPrimaryKey();
@@ -181,7 +181,7 @@ class EntityContext implements ContextInterface
- deprecationWarning('`EntityContext::primaryKey()` is deprecated. Use `EntityContext::getPrimaryKey()` instead.');
+ deprecationWarning('`EntityContext::primaryKey()` is deprecated. Use `EntityContext::getPrimaryKey()`.');
return (array)$this->_tables[$this->_rootName]->getPrimaryKey();
@@ -64,7 +64,7 @@ class FormContext implements ContextInterface
- deprecationWarning('`FormContext::primaryKey()` is deprecated. Use `FormContext::getPrimaryKey()` instead.');
+ deprecationWarning('`FormContext::primaryKey()` is deprecated. Use `FormContext::getPrimaryKey()`.');
return [];
@@ -52,7 +52,7 @@ class NullContext implements ContextInterface
- deprecationWarning('`NullContext::primaryKey()` is deprecated. Use `NullContext::getPrimaryKey()` instead.');
+ deprecationWarning('`NullContext::primaryKey()` is deprecated. Use `NullContext::getPrimaryKey()`.');