@@ -102,10 +102,10 @@ public function testResolvingArrayCollectionWithKey(): void
102102 {
103103 $ fixture = new TypeResolver ();
104104
105- $ resolvedType = $ fixture ->resolve ('array<string,object|array> ' , new Context ('' ));
105+ $ resolvedType = $ fixture ->resolve ('array<string, object|array> ' , new Context ('' ));
106106
107107 $ this ->assertInstanceOf (Array_::class, $ resolvedType );
108- $ this ->assertSame ('array<string,object|array> ' , (string ) $ resolvedType );
108+ $ this ->assertSame ('array<string, object|array> ' , (string ) $ resolvedType );
109109
110110 $ valueType = $ resolvedType ->getValueType ();
111111
@@ -127,7 +127,7 @@ public function testResolvingArrayCollectionWithKeyAndWhitespace(): void
127127 $ resolvedType = $ fixture ->resolve ('array<string, object|array> ' , new Context ('' ));
128128
129129 $ this ->assertInstanceOf (Array_::class, $ resolvedType );
130- $ this ->assertSame ('array<string,object|array> ' , (string ) $ resolvedType );
130+ $ this ->assertSame ('array<string, object|array> ' , (string ) $ resolvedType );
131131
132132 $ valueType = $ resolvedType ->getValueType ();
133133
@@ -170,16 +170,16 @@ public function testResolvingCollectionOfCollection(): void
170170 public function testGoodArrayCollectionKey (): void
171171 {
172172 $ fixture = new TypeResolver ();
173- $ resolvedType = $ fixture ->resolve ('array<array-key,string> ' , new Context ('' ));
173+ $ resolvedType = $ fixture ->resolve ('array<array-key, string> ' , new Context ('' ));
174174
175175 $ this ->assertInstanceOf (Array_::class, $ resolvedType );
176- $ this ->assertSame ('array<array-key,string> ' , (string ) $ resolvedType );
176+ $ this ->assertSame ('array<array-key, string> ' , (string ) $ resolvedType );
177177
178178 $ fixture = new TypeResolver ();
179- $ resolvedType = $ fixture ->resolve ('array<class-string,string> ' , new Context ('' ));
179+ $ resolvedType = $ fixture ->resolve ('array<class-string, string> ' , new Context ('' ));
180180
181181 $ this ->assertInstanceOf (Array_::class, $ resolvedType );
182- $ this ->assertSame ('array<class-string,string> ' , (string ) $ resolvedType );
182+ $ this ->assertSame ('array<class-string, string> ' , (string ) $ resolvedType );
183183 }
184184
185185 public function testMissingStartCollection (): void
@@ -218,7 +218,7 @@ public function testResolvingCollectionAsArray(): void
218218 $ resolvedType = $ fixture ->resolve ('array<string,float> ' , new Context ('' ));
219219
220220 $ this ->assertInstanceOf (Array_::class, $ resolvedType );
221- $ this ->assertSame ('array<string,float> ' , (string ) $ resolvedType );
221+ $ this ->assertSame ('array<string, float> ' , (string ) $ resolvedType );
222222
223223 $ valueType = $ resolvedType ->getValueType ();
224224
0 commit comments