Skip to content

Conversation

@royduin
Copy link
Contributor

@royduin royduin commented Oct 16, 2024

Followup on: #52669, the issue is described here: #52669 (comment)

Comment on lines 385 to 387
$lastViewPart = Str::afterLast(Str::afterLast($componentName, '.'), ':');

if ($viewFactory->exists($view = $this->guessViewName($componentName, $directory).'.'.$lastViewPart)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

can you keep this inline? I know it's lengthy but doesn't seem worth it to have the temporary variable.

@taylorotwell
Copy link
Member

Do we need a test?

@taylorotwell taylorotwell merged commit a6b0541 into laravel:11.x Oct 16, 2024
32 checks passed
@royduin royduin deleted the patch-2 branch November 11, 2024 12:37
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.

3 participants