We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005c7eb commit 3e90638Copy full SHA for 3e90638
src/SistemApi/Model/Sayfa.php
@@ -25,8 +25,8 @@ public function __set($key, $value)
25
case 'kategori': $value = new SayfaKategori($value); break;
26
case 'yazarlar':
27
$collection = new Collection();
28
- foreach ($value as $id => $item) {
29
- $collection->put($id, new Kullanici($item));
+ foreach ($value as $item) {
+ $collection->push(new Kullanici($item));
30
}
31
$value = $collection;
32
break;
0 commit comments