Skip to content

Add PHPDoc and types to translation wizard#26

Merged
NB-Core merged 1 commit into
tlwizardfrom
codex/document-methods-and-add-type-hints
Jul 13, 2025
Merged

Add PHPDoc and types to translation wizard#26
NB-Core merged 1 commit into
tlwizardfrom
codex/document-methods-and-add-type-hints

Conversation

@NB-Core
Copy link
Copy Markdown
Owner

@NB-Core NB-Core commented Jul 13, 2025

Summary

  • document parameters and return types in TranslationWizard
  • add nullable tlschema parameter and return type
  • specify argument and return types for insertFile and showValidFiles
  • typehint WizardService::ensureArray

Testing

  • php -l systems/translationwizard/translationwizard/TranslationWizard.php
  • php -l systems/translationwizard/translationwizard/WizardService.php
  • php -l systems/translationwizard/translationwizard.php

https://chatgpt.com/codex/tasks/task_e_68741b744a4083298a1749fea70ed2ef

@NB-Core NB-Core merged commit af8260c into tlwizard Jul 13, 2025
@NB-Core NB-Core deleted the codex/document-methods-and-add-type-hints branch July 13, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant