Showing 5 of 288 total issues
Avoid deeply nested control flow statements. Open
Open
if ($i <= $index) {
unset($indexes[$k]);
}
- Create a ticketCreate a ticket
Method onHookDynamic
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function onHookDynamic(string $spot, \Closure $getFxThisFx, \Closure $fx, array $args = [], int $priority = 5): int
- Create a ticketCreate a ticket
Method onHookDynamicShort
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function onHookDynamicShort(string $spot, \Closure $getFxThisFx, \Closure $fx, array $args = [], int $priority = 5): int
- Create a ticketCreate a ticket
Avoid too many return
statements within this method. Open
Open
return $out;
- Create a ticketCreate a ticket
Avoid too many return
statements within this method. Open
Open
return isset($this->hooks[$spot][$priority]);
- Create a ticketCreate a ticket