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

Replace call_user_func #1480

Merged
merged 1 commit into from
Jul 9, 2020
Merged

Conversation

gmponos
Copy link
Contributor

@gmponos gmponos commented Jul 8, 2020

@@ -312,7 +312,7 @@ public function addRecord(int $level, string $message, array $context = []): boo

try {
foreach ($this->processors as $processor) {
$record = call_user_func($processor, $record);
$record = $processor($record);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe this is the place where we might see the results of this.. all the others are not offering much in performance.. just in order to be consistent.

@Seldaek Seldaek merged commit 69b585f into Seldaek:master Jul 9, 2020
@Seldaek
Copy link
Owner

Seldaek commented Jul 9, 2020

Thanks

@gmponos gmponos deleted the remove-call-user-func branch July 9, 2020 08:54
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.

None yet

2 participants