We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72c1b9 commit cb0f534Copy full SHA for cb0f534
src/Tqdev/PhpCrudApi/OpenApi/OpenApiBuilder.php
@@ -204,7 +204,7 @@ private function setComponentResponse(String $tableName) /*: void*/
204
private function setComponentRequestBody(String $tableName) /*: void*/
205
{
206
$table = $this->reflection->getTable($tableName);
207
- $type = $table->getType($tableName);
+ $type = $table->getType();
208
$pk = $table->getPk();
209
$pkName = $pk ? $pk->getName() : '';
210
if ($pkName && $type == 'table') {
0 commit comments