@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * Parse a simple (single token) type. |
72 | 72 | * |
73 | - * @param Token $tokenList |
|
73 | + * @param Token $token |
|
74 | 74 | * @param int $tokenOffset Tracks offset when iterating through token list. |
75 | 75 | * @return Type |
76 | 76 | */ |
@@ -241,9 +241,7 @@ discard block |
||
241 | 241 | /** |
242 | 242 | * Parse a property of a PHP-serialized object. |
243 | 243 | * |
244 | - * @param Token[] $tokenList |
|
245 | - * @param int $tokenOffset Tracks offset when iterating through token list. |
|
246 | - * @return Type |
|
244 | + * @return ObjectProperty |
|
247 | 245 | */ |
248 | 246 | private function parseProperty( |
249 | 247 | string $className, |
@@ -8,6 +8,9 @@ discard block |
||
8 | 8 | |
9 | 9 | namespace ptlis\SerializedDataEditor\Parser; |
10 | 10 | |
11 | +use ptlis\SerializedDataEditor\TypeFragment\ArrayElementIntegerIndex; |
|
12 | +use ptlis\SerializedDataEditor\TypeFragment\ArrayElementStringIndex; |
|
13 | +use ptlis\SerializedDataEditor\TypeFragment\ObjectProperty; |
|
11 | 14 | use ptlis\SerializedDataEditor\Type\ArrayType; |
12 | 15 | use ptlis\SerializedDataEditor\Type\BoolType; |
13 | 16 | use ptlis\SerializedDataEditor\Type\FloatType; |
@@ -18,9 +21,6 @@ discard block |
||
18 | 21 | use ptlis\SerializedDataEditor\Type\ReferenceType; |
19 | 22 | use ptlis\SerializedDataEditor\Type\StringType; |
20 | 23 | use ptlis\SerializedDataEditor\Type\Type; |
21 | -use ptlis\SerializedDataEditor\TypeFragment\ArrayElementIntegerIndex; |
|
22 | -use ptlis\SerializedDataEditor\TypeFragment\ArrayElementStringIndex; |
|
23 | -use ptlis\SerializedDataEditor\TypeFragment\ObjectProperty; |
|
24 | 24 | |
25 | 25 | final class Parser |
26 | 26 | { |