Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Review
  • Loading branch information
VincentLanglet committed Jan 9, 2025
commit f971bc057deefde90942210dc057b7b0c7808748
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,7 @@ public function testNestedArrays2()
$this->resolver->setDefined('foo');
$this->resolver->setAllowedTypes('foo', 'array<array<int>>');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as int[][] (shorter and simpler to write/read)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I agree. It's just to prove the second syntax works. (Same for others)


$this->assertEquals([
$this->assertSame([
'foo' => [
[
1, 2,
Expand Down