Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation based on the latest code changes ```php /** * @inheritdoc */ public function getQueryBuilder(string $type): Query { return match ($type) { Query::TYPE_SELECT => $this->getDecoratedConnection()->selectQuery(), Query::TYPE_INSERT => $this->getDecoratedConnection()->insertQuery(), Query::TYPE_UPDATE => $this->getDecoratedConnection()->updateQuery(), Query::TYPE_DELETE => $this->getDecoratedConnection()->deleteQuery(), default => throw new InvalidArgumentException( 'Query type must be one of: `select`, `insert`, `update`, `delete`.' ) }; } ``` Ref 1: https://github.com/cakephp/phinx/blob/b0f4397dd57eb91bd5369c2770a4f2656a3f993c/src/Phinx/Db/Adapter/PdoAdapter.php#L239-L250
- Loading branch information