Skip to content

Conversation

@duncanxia97
Copy link
Contributor

@duncanxia97 duncanxia97 commented Jan 15, 2023

$arrayList = ArrayList::form([['id'=>1],['id'=>2]]); // $arrayList => [['id'=>1],['id'=>2]] foreach($arrayList as &$item) { $item['id'] += 1; } unset($item); // $arrayList => [['id'=>2],['id'=>3]]
duncanxia97 and others added 30 commits January 15, 2023 17:40
$arrayList = ArrayList::form([['id'=>1],['id'=>2]]); // $arrayList => [['id'=>1],['id'=>2]] foreach($arrayList as &$item) { $item['id'] += 1; } unset($item); // $arrayList => [['id'=>2],['id'=>3]]
moved from nette/finder
except for ArrayHash::offsetGet() to maintain compatibility with nette/database v3
Since PHP 8.0 ReflectionParameter::getDefaultValue() correctly returns value or throws exception when constant cannot be resolved
@dg dg force-pushed the master branch 8 times, most recently from 489126b to 46e8fe1 Compare January 19, 2023 16:03
@dg dg merged commit cc06620 into nette:master Jan 19, 2023
@dg
Copy link
Member

dg commented Jan 19, 2023

Thanks

dg pushed a commit that referenced this pull request Jan 19, 2023
dg pushed a commit that referenced this pull request Jan 19, 2023
dg pushed a commit that referenced this pull request Jan 19, 2023
dg pushed a commit that referenced this pull request Jan 19, 2023
dg pushed a commit that referenced this pull request Jan 21, 2023
dg pushed a commit that referenced this pull request Jan 21, 2023
dg pushed a commit that referenced this pull request Jan 25, 2023
dg pushed a commit that referenced this pull request Jan 25, 2023
dg pushed a commit that referenced this pull request Jan 26, 2023
dg pushed a commit that referenced this pull request Jan 31, 2023
dg pushed a commit that referenced this pull request Jan 31, 2023
dg pushed a commit that referenced this pull request Jan 31, 2023
dg pushed a commit that referenced this pull request Jan 31, 2023
dg pushed a commit that referenced this pull request Feb 1, 2023
dg pushed a commit that referenced this pull request Feb 1, 2023
dg pushed a commit that referenced this pull request Feb 2, 2023
dg pushed a commit that referenced this pull request Feb 2, 2023
dg pushed a commit that referenced this pull request Feb 2, 2023
dg pushed a commit that referenced this pull request Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants