stan errors done
This commit is contained in:
1 parent
834527647d
commit
5d3ea6d787
1 file changed
+3
-3
@@ -74,14 +74,14 @@ function module_exists(string $moduleName): bool
|
|||||||
* echo $user->greet(); // Hello, Ahmet
|
* echo $user->greet(); // Hello, Ahmet
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @template T of object
|
|
||||||
*
|
*
|
||||||
* @param mixed ...$arguments Key-value pairs (property name => value or Closure)
|
* @param mixed ...$arguments Key-value pairs (property name => value or Closure)
|
||||||
* @return T Anonymous class instance exposing dynamic properties/methods.
|
|
||||||
*/
|
*/
|
||||||
function emptyClass(mixed ...$arguments): object
|
function emptyClass(mixed ...$arguments): object
|
||||||
{
|
{
|
||||||
/** @var T */
|
/**
|
||||||
|
* @var array<string, mixed> $arguments
|
||||||
|
*/
|
||||||
return new class($arguments)
|
return new class($arguments)
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user