mirror of
https://github.com/dg/dibi.git
synced 2025-08-25 06:51:32 +02:00
coding style
This commit is contained in:
@@ -6,9 +6,7 @@ use Tester\Assert;
|
||||
|
||||
require __DIR__ . '/bootstrap.php';
|
||||
|
||||
$hash = new Dibi\HashMap(function ($v) {
|
||||
return "b-$v-e";
|
||||
});
|
||||
$hash = new Dibi\HashMap(fn($v) => "b-$v-e");
|
||||
|
||||
Assert::same('b-X-e', $hash->{'X'});
|
||||
Assert::same('b--e', $hash->{''});
|
||||
|
Reference in New Issue
Block a user