mirror of
https://github.com/pestphp/pest.git
synced 2026-07-21 17:10:03 +02:00
14 lines
202 B
PHP
14 lines
202 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
dataset('bound.closure', function () {
|
|
yield fn (): int => 1;
|
|
yield fn (): int => 2;
|
|
});
|
|
|
|
dataset('bound.array', [
|
|
fn (): int => 1,
|
|
fn (): int => 2,
|
|
]);
|