mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-16 21:18:20 +01:00
Fix arguments array type
This commit is contained in:
parent
bb1a3e1217
commit
6bc9ddd2e7
@ -65,7 +65,7 @@ final class App
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array<string, mixed> $arguments
|
* @param list<mixed> $arguments
|
||||||
*/
|
*/
|
||||||
public function __call(string $name, array $arguments): mixed
|
public function __call(string $name, array $arguments): mixed
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,7 @@ class CollectionDataProxy
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array<string, mixed> $arguments
|
* @param list<mixed> $arguments
|
||||||
*/
|
*/
|
||||||
public function __call(string $name, array $arguments): Collection
|
public function __call(string $name, array $arguments): Collection
|
||||||
{
|
{
|
||||||
|
@ -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
|
protected function callMethod(string $method, array $arguments = []): mixed
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,7 @@ trait Methods
|
|||||||
protected array $methods = [];
|
protected array $methods = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array<mixed> $arguments
|
* @param list<mixed> $arguments
|
||||||
*/
|
*/
|
||||||
public function __call(string $name, array $arguments): mixed
|
public function __call(string $name, array $arguments): mixed
|
||||||
{
|
{
|
||||||
@ -36,7 +36,7 @@ trait Methods
|
|||||||
/**
|
/**
|
||||||
* Call a method defined in the `$method` property
|
* Call a method defined in the `$method` property
|
||||||
*
|
*
|
||||||
* @param array<mixed> $arguments
|
* @param list<mixed> $arguments
|
||||||
*/
|
*/
|
||||||
protected function callMethod(string $method, array $arguments)
|
protected function callMethod(string $method, array $arguments)
|
||||||
{
|
{
|
||||||
|
@ -269,7 +269,7 @@ class View
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array<mixed> $arguments
|
* @param list<mixed> $arguments
|
||||||
*/
|
*/
|
||||||
protected function callMethod(string $method, array $arguments): mixed
|
protected function callMethod(string $method, array $arguments): mixed
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user