Skip to content

Commit 9c4ff6c

Browse files
authored
Merge pull request #359 from benjaminprojas/patch-1
2 parents bee2f0f + dab9933 commit 9c4ff6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/IterableCodeExtractor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ static function ( $file, $key, $iterator ) use ( $include, $exclude, $extensions
242242
/** @var SplFileInfo $file */
243243

244244
// Normalize include and exclude paths.
245-
$include = array_map( 'static::trim_leading_slash', $include );
246-
$exclude = array_map( 'static::trim_leading_slash', $exclude );
245+
$include = array_map( self::class . '::trim_leading_slash', $include );
246+
$exclude = array_map( self::class . '::trim_leading_slash', $exclude );
247247

248248
// If no $include is passed everything gets the weakest possible matching score.
249249
$inclusion_score = empty( $include ) ? 0.1 : static::calculateMatchScore( $file, $include );

0 commit comments

Comments
 (0)