Skip to content
Open
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 @@ -59,3 +59,5 @@ bb927a60f808d44d10b6ffbd796982a3e5022c44
8324fa8d36520cdf661ec467df91ab869940288c
9768a59609a9812e1a30db696d43ea265a0539be
33a2233c7f0bfab90033796d51cbb722e2b5340e
d858165c489e7b2dc4374fe3bee0db16f5343a55
272f01760d84ee3e96651e4c3f4708ad92546d78
8 changes: 4 additions & 4 deletions composer.lock

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

1 change: 1 addition & 0 deletions rector.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* Copyright (c) 2025. Encore Digital Group.
* All Rights Reserved.
Expand Down
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