Skip to content

Commit

Permalink
Merge pull request #3061 from z-song/analysis-XkMLYj
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
z-song authored Mar 10, 2019
2 parents 052a8ce + f894f60 commit f412485
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Auth/Database/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,17 @@ public function shouldPassThrough(Request $request) : bool
}

/**
* filter \r
*
* @param string $path
* filter \r.
*
* @param string $path
*
* @return mixed
*/
public function getHttpPathAttribute($path)
{
return str_replace("\r\n", "\n", $path);
}

/**
* If a request match the specific HTTP method and path.
*
Expand Down

0 comments on commit f412485

Please sign in to comment.