stan errors done

This commit is contained in:
2025-10-31 01:21:00 +05:00
parent 834527647d
commit 5d3ea6d787

View File

@@ -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)
{ {
/** /**