mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 09:43:13 +08:00
Add missing generic tyoes annotations
This commit is contained in:
@@ -104,7 +104,7 @@ class ShortUrlRedirectRuleTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ArrayCollection<RedirectCondition> $conditions
|
||||
* @param ArrayCollection<int, RedirectCondition> $conditions
|
||||
*/
|
||||
private function createRule(ArrayCollection $conditions): ShortUrlRedirectRule
|
||||
{
|
||||
|
||||
@@ -103,6 +103,9 @@ class ShortUrlTitleResolutionHelperTest extends TestCase
|
||||
self::assertEquals('Resolved "title"', $result->title);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return InvocationMocker<ClientInterface>
|
||||
*/
|
||||
private function expectRequestToBeCalled(): InvocationMocker
|
||||
{
|
||||
return $this->httpClient->expects($this->once())->method('request')->with(
|
||||
|
||||
Reference in New Issue
Block a user