mirror of
https://github.com/danog/Valinor.git
synced 2025-01-10 14:48:20 +01:00
14 lines
311 B
PHP
14 lines
311 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace CuyZ\Valinor\Tests\Unit\Utility\Reflection;
|
||
|
|
||
|
return [
|
||
|
'function_on_one_line' => fn () => 'foo',
|
||
|
/** @noRector \Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector */
|
||
|
'function_on_several_lines' => function (): string {
|
||
|
return 'foo';
|
||
|
},
|
||
|
];
|