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

[9.x] Remove meaningless parameter #42546

Merged
merged 1 commit into from
May 28, 2022
Merged

[9.x] Remove meaningless parameter #42546

merged 1 commit into from
May 28, 2022

Conversation

baijunyao
Copy link
Contributor

The default value of the $prefix parameter of the addViewEvent() method is composing:

protected function addViewEvent($view, $callback, $prefix = 'composing: ')

So this parameter can not be passed when calling.

$composers[] = $this->addViewEvent($view, $callback, 'composing: ');

@taylorotwell taylorotwell merged commit acddea7 into laravel:9.x May 28, 2022
@GrahamCampbell GrahamCampbell changed the title Remove meaningless parameter [9.x] Remove meaningless parameter May 28, 2022
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