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

Style engine: update return PHP doc comment and other nitpicks #42453

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

ramonjd
Copy link
Member

@ramonjd ramonjd commented Jul 15, 2022

What?

Some small changes that have been bugging me this afternoon.

So this PR:

  • Adds declarations to return value docs
  • Renames $style_rules to $css_declarations
  • Changes self:: to static:: for future classes that may extend this one

Why?

Did I really need to create this PR? Not really.

Would I have slept tonight if I hadn't? HELL NO! 🔥

How?

Bashing at my keyboard.

Testing Instructions

If the tests pass, things are great.

Rename $style_rules to $css_declarations
Change self to static for future classes that may extend this one
@ramonjd ramonjd added the [Package] Style Engine /packages/style-engine label Jul 15, 2022
@ramonjd ramonjd self-assigned this Jul 15, 2022
@ramonjd ramonjd added the [Type] Code Quality Issues or PRs that relate to code quality label Jul 15, 2022
@ramonjd ramonjd requested review from andrewserong and aristath July 15, 2022 05:50
Copy link
Contributor

@andrewserong andrewserong left a comment

Choose a reason for hiding this comment

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

Nice little fix up, LGTM! ✨

@andrewserong andrewserong merged commit 5a20ef3 into trunk Jul 15, 2022
@andrewserong andrewserong deleted the update/style-engine-fix-return-value-comment branch July 15, 2022 06:35
@github-actions github-actions bot added this to the Gutenberg 13.8 milestone Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Style Engine /packages/style-engine [Type] Code Quality Issues or PRs that relate to code quality
Projects
Status: 🏆 Done
Development

Successfully merging this pull request may close these issues.

2 participants