Skip to content

Commit

Permalink
Merge pull request #4 from tomschlick/analysis-qyr4Vj
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
tomschlick committed Jul 29, 2016
2 parents 05f4796 + f8354d7 commit 4d4232a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Http2ServerPushMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ protected function addServerPushHeaders()

/**
* @param Request $request
*
* @return bool
*/
protected function shouldUseServerPush(Request $request) : bool
{
return (! $request->ajax());
return !$request->ajax();
}
}

0 comments on commit 4d4232a

Please sign in to comment.