Skip to content

Ensure forward compatibility with ipl-orm by adding return types#263

Merged
lippserd merged 2 commits intomainfrom
modernize-code
Mar 19, 2026
Merged

Ensure forward compatibility with ipl-orm by adding return types#263
lippserd merged 2 commits intomainfrom
modernize-code

Conversation

@BastianLedererIcinga
Copy link
Copy Markdown
Contributor

@BastianLedererIcinga BastianLedererIcinga commented Mar 3, 2026

Add explicit return types to ipl-orm-derived methods to prepare for strict
typing. These additions are safe, as they only annotate existing methods that
previously lacked return type declarations.

refs Icinga/ipl-orm#158

sukhwinder33445
sukhwinder33445 previously approved these changes Mar 5, 2026
@BastianLedererIcinga BastianLedererIcinga changed the title Modernize code Ipl forward compatibility Mar 6, 2026
…ndition()`

Add a return type and a missing return statement to ensure
forward-compatibility with ipl-orm.
Add the static return type to ensure compatibility
with ipl-orm.
Copy link
Copy Markdown
Contributor

@sukhwinder33445 sukhwinder33445 left a comment

Choose a reason for hiding this comment

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

Looks good. I will approve it after testing the UI.

@lippserd lippserd self-requested a review March 17, 2026 12:01
@lippserd lippserd changed the title Ipl forward compatibility Ensure forward compatibility with ipl-orm by adding return types Mar 19, 2026
@lippserd lippserd merged commit d064347 into main Mar 19, 2026
13 checks passed
@lippserd lippserd deleted the modernize-code branch March 19, 2026 21:58
@lippserd lippserd added this to the 1.4.0 milestone Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants