Skip to content

Commit

Permalink
shuffling type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
SignpostMarv committed May 8, 2018
1 parent f702d46 commit fbc2a35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/StaticMethodCollector.php
Expand Up @@ -43,13 +43,13 @@ class StaticMethodCollector

public function __construct(array $staticMethods, array $interfaces, bool $autoReset = true)
{
/**
* @var array<string, array> $filteredMethods
*/
$filteredMethods = $this->FilterArrayOfInterfaceOffsets(
array_filter($staticMethods, 'is_array')
);

/**
* @var array<string, string[]> $methods
*/
foreach ($filteredMethods as $interface => $methods) {
$filteredMethods[$interface] = $this->FilterMethods($interface, $methods);
}
Expand Down

0 comments on commit fbc2a35

Please sign in to comment.