Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveworley committed Jul 23, 2023
1 parent f022c6a commit 11b01ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use Symfony\Component\HttpFoundation\Response;
use Drupal\Core\Cache\CacheableResponseInterface;

/**
* Methods for the URL registrar classes.
*/
trait TraitUrlRegistrar {

/**
Expand Down Expand Up @@ -80,4 +83,4 @@ protected function getAcceptedCacheTags(array $tag_list) {
return array_filter($tags);
}

}
}
7 changes: 4 additions & 3 deletions modules/quant_purger/src/StackMiddleware/UrlRegistrar.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public function handle(Request $request, $type = self::MASTER_REQUEST, $catch =

}

} else {
}
else {
/**
* Collects URLs that Quant has requested.
*/
Expand Down Expand Up @@ -111,7 +112,7 @@ public function __construct(HttpKernelInterface $http_kernel, TrafficRegistryInt
/**
* {@inheritdoc}
*/
public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = true): Response {
public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = TRUE): Response {
$response = $this->httpKernel->handle($request, $type, $catch);
var_dump('d10');
if ($this->determine($request, $response)) {
Expand All @@ -124,4 +125,4 @@ public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $c
}

}
}
}

0 comments on commit 11b01ab

Please sign in to comment.