Skip to content

Commit 4d4232a

Browse files
authored
Merge pull request #4 from tomschlick/analysis-qyr4Vj
Applied fixes from StyleCI
2 parents 05f4796 + f8354d7 commit 4d4232a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Http2ServerPushMiddleware.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ protected function addServerPushHeaders()
3939

4040
/**
4141
* @param Request $request
42+
*
4243
* @return bool
4344
*/
4445
protected function shouldUseServerPush(Request $request) : bool
4546
{
46-
return (! $request->ajax());
47+
return !$request->ajax();
4748
}
4849
}

0 commit comments

Comments
 (0)