Skip to content

Commit cb0f534

Browse files
committed
Cleanup
1 parent f72c1b9 commit cb0f534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tqdev/PhpCrudApi/OpenApi/OpenApiBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ private function setComponentResponse(String $tableName) /*: void*/
204204
private function setComponentRequestBody(String $tableName) /*: void*/
205205
{
206206
$table = $this->reflection->getTable($tableName);
207-
$type = $table->getType($tableName);
207+
$type = $table->getType();
208208
$pk = $table->getPk();
209209
$pkName = $pk ? $pk->getName() : '';
210210
if ($pkName && $type == 'table') {

0 commit comments

Comments
 (0)