Skip to content

Conversation

JosephSilber
Copy link
Contributor

Essentially #3685 for master.

return $next($request);
}

if ($request->ajax() || $request->wantsJson()) {
Copy link
Member

Choose a reason for hiding this comment

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

elseif would be more consistent with syntax here

@taylorotwell
Copy link
Member

Gonna hold off on this because dat array_slice is nasty. Will just wait for PHP 5.6 on 5.3.

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