Skip to content

Permit to Inject GlpiAsset#620

Open
tsmr wants to merge 2 commits into
pluginsGLPI:mainfrom
InfotelGLPI:InjectGlpiAsset
Open

Permit to Inject GlpiAsset#620
tsmr wants to merge 2 commits into
pluginsGLPI:mainfrom
InfotelGLPI:InjectGlpiAsset

Conversation

@tsmr
Copy link
Copy Markdown
Contributor

@tsmr tsmr commented May 7, 2026

Checklist before requesting a review

Please delete options that are not relevant.

  • [X ] I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

Permit to Inject GlpiAsset (and add Injectable Capacity)

@Rom1-B Rom1-B requested review from Rom1-B and stonebuzz May 7, 2026 13:55
{

if (is_a($injectionClass, Asset::class, true)) {
return Toolbox::ucfirst(getItemTypeForTable($injectionClass->getVirtualTable()));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix CI.

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.

2 participants