[BaseCollection] Treat the null index as "no index" only while adding new element, iow. do not treat empty string as "no index" behaviour

This commit is contained in:
Meritoo
2019-09-19 12:33:03 +02:00
parent d8e3d5e7cb
commit 872259e63d
4 changed files with 8 additions and 3 deletions

View File

@@ -438,7 +438,7 @@ class BaseCollectionTest extends BaseTestCase
'This is test 4',
'',
4,
1,
'',
new StringCollection([
'test1' => 'I am 1st',
'test2' => 'I am 2nd',