Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added type hint #24

Merged
merged 1 commit into from
Jan 18, 2023
Merged

Added type hint #24

merged 1 commit into from
Jan 18, 2023

Conversation

shahruslan
Copy link

When using the barryvdh/laravel-ide-helper package, autocomplete will now work.

Description

Added return type to macro functions. For this type, the package barryvdh/laravel-ide-helper (for generating PHPStorm hints) will add the appropriate hint and PHPStorm will show the completion of the methods.
img

Does this close any currently open issues?

No

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Any relevant logs, error output, etc?

No

Any other comments?

No

Checklist

  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

When using the barryvdh/laravel-ide-helper package, autocomplete will now work.
Copy link
Owner

@bilfeldt bilfeldt left a comment

Choose a reason for hiding this comment

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

Thanks @shahruslan 👍

@bilfeldt bilfeldt merged commit 76e8015 into bilfeldt:master Jan 18, 2023
@bilfeldt
Copy link
Owner

Thanks @shahruslan nice addition 👍 Now released in v1.3.0

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