mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
feat(namespaced-functions): updates stubs
This commit is contained in:
@ -4,12 +4,8 @@ namespace Tests;
|
||||
|
||||
/**
|
||||
* A basic assert example.
|
||||
*
|
||||
* @return TestCase
|
||||
*/
|
||||
function assertExample()
|
||||
function assertExample(): void
|
||||
{
|
||||
test()->assertTrue(true);
|
||||
|
||||
return test();
|
||||
}
|
||||
|
||||
@ -4,12 +4,8 @@ namespace Tests;
|
||||
|
||||
/**
|
||||
* A basic assert example.
|
||||
*
|
||||
* @return TestCase
|
||||
*/
|
||||
function assertExample()
|
||||
function assertExample(): void
|
||||
{
|
||||
test()->assertTrue(true);
|
||||
|
||||
return test();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user