mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-18 04:43:49 +09:00
Updates to vendors etc
This commit is contained in:
@@ -23,7 +23,7 @@ final class ResponseHeaderLocationSame extends Constraint
|
||||
|
||||
public function toString(): string
|
||||
{
|
||||
return sprintf('has header "Location" matching "%s"', $this->expectedValue);
|
||||
return \sprintf('has header "Location" matching "%s"', $this->expectedValue);
|
||||
}
|
||||
|
||||
protected function matches($other): bool
|
||||
@@ -53,7 +53,7 @@ final class ResponseHeaderLocationSame extends Constraint
|
||||
}
|
||||
|
||||
if (str_starts_with($url, '//')) {
|
||||
return sprintf('%s:%s', $this->request->getScheme(), $url);
|
||||
return \sprintf('%s:%s', $this->request->getScheme(), $url);
|
||||
}
|
||||
|
||||
if (str_starts_with($url, '/')) {
|
||||
|
||||
Reference in New Issue
Block a user