Skip to content

Commit

Permalink
Fixed typo in "Floats"
Browse files Browse the repository at this point in the history
  • Loading branch information
rhertogh committed Jul 26, 2023
1 parent 000f164 commit 9efcd57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/framework/helpers/ArrayHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ public function testKeyExists()
'a' => 1,
'B' => 2,
1 => 3,
2.2 => 4, // Note: Foats are cast to ints, which means that the fractional part will be truncated.
2.2 => 4, // Note: Floats are cast to ints, which means that the fractional part will be truncated.
3.3 => null,
];
$this->assertTrue(ArrayHelper::keyExists('a', $array));
Expand Down

0 comments on commit 9efcd57

Please sign in to comment.