@@ -133,6 +133,9 @@ |
||
133 | 133 | return $this->getFromBuffer( $entityId, TermTypes::TYPE_ALIAS, $languageCode ) ?? false; |
134 | 134 | } |
135 | 135 | |
136 | + /** |
|
137 | + * @param string $languageCode |
|
138 | + */ |
|
136 | 139 | private function getFromBuffer( EntityId $entityId, $termType, $languageCode ) { |
137 | 140 | if ( !( $entityId instanceof Int32EntityId ) ) { |
138 | 141 | throw new InvalidArgumentException( "Not an Int32EntityId: " . $entityId->getSerialization() ); |
@@ -14,6 +14,7 @@ |
||
14 | 14 | |
15 | 15 | /** |
16 | 16 | * Some test appear to want to simulate null status codes, hence the type hint |
17 | + * @param integer $statusCode |
|
17 | 18 | */ |
18 | 19 | private function newMockResponse( $response, ?int $statusCode ): ResponseInterface { |
19 | 20 | $mockStream = $this->createMock( StreamInterface::class ); |