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