Skip to content

Commit afb1774

Browse files
author
Max Eckel
committed
Fix StyleCI & Tests
1 parent a4910b6 commit afb1774

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Swoole/SwooleClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function canServeRequestAsStaticFile(Request $request, RequestContext $co
5858

5959
$realpath = realpath($publicPath.'/'.$request->path());
6060

61-
if($this->checkSymlinkInPath($publicPath, $realpath, $request->path())) {
61+
if ($this->checkSymlinkInPath($publicPath, $realpath, $request->path())) {
6262
$realpath = $publicPath.'/'.$request->path();
6363
}
6464

@@ -97,7 +97,7 @@ private function checkSymlinkInPath(string $publicPath, string $realPath, string
9797
* @param string $path
9898
* @return string|bool
9999
*/
100-
private function pathContainsSymlink(string $publicPath, string $path): string|bool
100+
private function pathContainsSymlink(string $publicPath, string $path): string | bool
101101
{
102102
$dirs = explode('/', $path);
103103

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
foobar

0 commit comments

Comments
 (0)