-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,10 +10,7 @@ | |
|
||
trait InterceptTrait | ||
{ | ||
/** @var array<string, string> */ | ||
private $bind; | ||
|
||
/** @var array<string, string> */ | ||
/** @var array<string, array<class-string<MethodInterceptor>> */ | ||
public $bindings = []; | ||
Check failure on line 14 in src/InterceptTrait.php GitHub Actions / cs / Coding Standards
Check failure on line 14 in src/InterceptTrait.php GitHub Actions / cs / Coding Standards
|
||
|
||
/** @var bool */ | ||
|
@@ -26,7 +23,7 @@ trait InterceptTrait | |
* | ||
* @SuppressWarnings(PHPMD.CamelCaseMethodName) | ||
*/ | ||
private function _intercept(array $args, string $func) // phpcs:ignore | ||
private function _intercept(string $func, array $args) // phpcs:ignore | ||
{ | ||
if (! $this->isAspect) { | ||
$this->isAspect = true; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters