Skip to content

Fix null option values crashing TailwindTrait::getTwClasses()#492

Merged
iruzevic merged 2 commits into
mainfrom
fix/tailwind-trait
Jun 11, 2026
Merged

Fix null option values crashing TailwindTrait::getTwClasses()#492
iruzevic merged 2 commits into
mainfrom
fix/tailwind-trait

Conversation

@iobrado

@iobrado iobrado commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Description

Fixed TailwindTrait::getTwClasses() to skip null option values returned by Helpers::checkAttr() instead of passing them to processOption(), preventing a type error when an attribute is absent from the block attributes.

iobrado added 2 commits June 11, 2026 10:10
Skip null values returned by Helpers::checkAttr() before passing to
processOption(), preventing a type error when an attribute is absent
from the block attributes. Bumps to 13.1.1.
@iobrado iobrado requested a review from a team June 11, 2026 08:18
@iobrado iobrado self-assigned this Jun 11, 2026
@iruzevic iruzevic merged commit ed28604 into main Jun 11, 2026
1 check passed
@iruzevic iruzevic deleted the fix/tailwind-trait branch June 11, 2026 08:34
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.

2 participants