Fix arguments array type

This commit is contained in:
Giuseppe Criscione 2024-12-10 23:34:33 +01:00
parent bb1a3e1217
commit 6bc9ddd2e7
5 changed files with 6 additions and 6 deletions

View File

@ -65,7 +65,7 @@ final class App
}
/**
* @param array<string, mixed> $arguments
* @param list<mixed> $arguments
*/
public function __call(string $name, array $arguments): mixed
{

View File

@ -28,7 +28,7 @@ class CollectionDataProxy
}
/**
* @param array<string, mixed> $arguments
* @param list<mixed> $arguments
*/
public function __call(string $name, array $arguments): Collection
{

View File

@ -363,7 +363,7 @@ class Field implements Arrayable, Stringable
}
/**
* @param array<mixed> $arguments
* @param list<mixed> $arguments
*/
protected function callMethod(string $method, array $arguments = []): mixed
{

View File

@ -15,7 +15,7 @@ trait Methods
protected array $methods = [];
/**
* @param array<mixed> $arguments
* @param list<mixed> $arguments
*/
public function __call(string $name, array $arguments): mixed
{
@ -36,7 +36,7 @@ trait Methods
/**
* Call a method defined in the `$method` property
*
* @param array<mixed> $arguments
* @param list<mixed> $arguments
*/
protected function callMethod(string $method, array $arguments)
{

View File

@ -269,7 +269,7 @@ class View
}
/**
* @param array<mixed> $arguments
* @param list<mixed> $arguments
*/
protected function callMethod(string $method, array $arguments): mixed
{