Skip to content

Commit

Permalink
remove no-longer-needed workaround (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
shish authored Nov 28, 2024
1 parent 735cec3 commit db4cd02
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions generator/src/Parameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,12 @@ public function getDocBlockType(): string

public function getParameterName(): string
{
// The db2_bind_param method has parameters with a dash in it... yep... (patch submitted)
return \str_replace('-', '_', $this->parameter->parameter->__toString());
return $this->parameter->parameter->__toString();
}

public function getParameterType(): string
{
// The db2_bind_param method has parameters with a dash in it... yep... (patch submitted)
return \str_replace('-', '_', $this->parameter->type->__toString());
return $this->parameter->type->__toString();
}

public function isByReference(): bool
Expand Down

0 comments on commit db4cd02

Please sign in to comment.