Skip to content

refactor: update decorate method signatures to use typed parameters#42

Merged
bpteam merged 1 commit into
masterfrom
fix(bug)-generator-of-inputobject-missmatch-interface
Mar 13, 2026
Merged

refactor: update decorate method signatures to use typed parameters#42
bpteam merged 1 commit into
masterfrom
fix(bug)-generator-of-inputobject-missmatch-interface

Conversation

@bpteam
Copy link
Copy Markdown
Contributor

@bpteam bpteam commented Mar 13, 2026

This pull request updates the method signature of the decorate method in the InputObjectModel and its generated test fixtures to use explicit type declarations for its parameters and return type. This improves type safety and code clarity.

Type safety and code clarity improvements:

  • Updated the decorate method in InputObjectModel.php to explicitly declare the parameter types (string $name, mixed $value) and the return type (mixed).
  • Updated the generated test fixture TestInputInputType classes in case-1.php.txt and case-2.php.txt to match the new method signature for decorate. [1] [2]

@bpteam bpteam merged commit a0fd208 into master Mar 13, 2026
3 checks passed
@bpteam bpteam deleted the fix(bug)-generator-of-inputobject-missmatch-interface branch March 13, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant