@@ -154,6 +154,9 @@ |
||
154 | 154 | return $seralization; |
155 | 155 | } |
156 | 156 | |
157 | + /** |
|
158 | + * @param string $key |
|
159 | + */ |
|
157 | 160 | private function getArrayFromKey( $key, array $serialization ) { |
158 | 161 | if ( !array_key_exists( $key, $serialization ) ) { |
159 | 162 | return array(); |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @param \PHPUnit\Framework\TestCase $testCase |
29 | 29 | * |
30 | - * @return Deserializer |
|
30 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
31 | 31 | */ |
32 | 32 | private static function newFakeDataValueDeserializer( \PHPUnit\Framework\TestCase $testCase ) { |
33 | 33 | $dataValueDeserializer = $testCase->getMockBuilder( Deserializer::class )->getMock(); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | /** |
31 | - * @return DispatchableDeserializer |
|
31 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
32 | 32 | */ |
33 | 33 | private function getStubLegacyDeserializer() { |
34 | 34 | $legacyDeserializer = $this->createMock( DispatchableDeserializer::class ); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | - * @return DispatchableDeserializer |
|
50 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
51 | 51 | */ |
52 | 52 | private function getStubCurrentDeserializer() { |
53 | 53 | $currentDeserializer = $this->createMock( DispatchableDeserializer::class ); |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
79 | - * @return DispatchableDeserializer |
|
79 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
80 | 80 | */ |
81 | 81 | private function getThrowingDeserializer() { |
82 | 82 | $currentDeserializer = $this->createMock( DispatchableDeserializer::class ); |