Skip to content

Commit 868c542

Browse files
committed
Fix DiffHelp::getTemplatesInfo() typos
Signed-off-by: Jack Cherng <[email protected]>
1 parent 80cd8e7 commit 868c542

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DiffHelper.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ function (string $file): string {
6464
function (string $fileName): bool {
6565
return
6666
\substr($fileName, 0, 8) !== 'Abstract' &&
67-
\substr($fileName, 0, -9) !== 'Interface' &&
68-
\substr($fileName, 0, -5) !== 'Trait';
67+
\substr($fileName, -9) !== 'Interface' &&
68+
\substr($fileName, -5) !== 'Trait';
6969
}
7070
);
7171

0 commit comments

Comments
 (0)