Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ c400a3c655b1157b8ff30f5c2ead30563fad972a
e7d3e86c6e045f09131ec7cdb3e2cf0887e7eb21
7350f8fc64aa43ff050446bd64157a28f73e21d4
bb927a60f808d44d10b6ffbd796982a3e5022c44
01fafd34762e4bba3441bdc5196fe7f2dbb742ea
8324fa8d36520cdf661ec467df91ab869940288c
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions src/Objects/Support/Traits/Macroable.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,12 @@ protected function deferToEloquentInstance(string $method, array $parameters): m
}

/**
* @param string $method
* @param array $parameters
* @param string $method
* @return mixed
*
* @throws ReflectionException
*/
public static function __callStatic($method, $parameters)
public static function __callStatic($method, array $parameters)
{
// Check if a macro exists for the method
if (static::hasMacro($method)) {
Expand Down Expand Up @@ -122,8 +121,8 @@ public static function __callStatic($method, $parameters)
}

/**
* @param string $method
* @param array $parameters
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws ReflectionException
Expand Down