Skip to content

Commit 75d975a

Browse files
committed
QA: Add apidocs for filter()
1 parent 191fedb commit 75d975a

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/main/php/web/filters/CORS.class.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,15 @@ public function credentials(bool $flag): self {
8181
$this->credentials= $flag;
8282
return $this;
8383
}
84-
84+
85+
/**
86+
* Filter request
87+
*
88+
* @param web.Request $request
89+
* @param web.Response $response
90+
* @param web.filters.Invocation $invocation
91+
* @return var
92+
*/
8593
public function filter($request, $response, $invocation) {
8694
$origin= $request->header('Origin');
8795
if (null !== $origin) {

0 commit comments

Comments
 (0)