Skip to content

Commit c61ae25

Browse files
committed
ensure implementing class order
1 parent 2672747 commit c61ae25

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

dev/src/DocFx/Node/InterfaceNode.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public function determineImplementingClasses(array $pageNodes): void
5252
$this->implementingClasses[] = '\\' . $className;
5353
}
5454
}
55+
56+
sort($this->implementingClasses);
5557
}
5658

5759
public function getLongDescription(): string

dev/tests/fixtures/docfx/Auth/FetchAuthTokenInterface.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ items:
99
An interface implemented by objects that can fetch auth tokens.
1010
1111
Classes which implement this interface in this package:
12+
- <xref uid="\Google\Auth\CredentialsLoader">CredentialsLoader</xref>
1213
- <xref uid="\Google\Auth\Credentials\ExternalAccountCredentials">Credentials\ExternalAccountCredentials</xref>
13-
- <xref uid="\Google\Auth\Credentials\ServiceAccountJwtAccessCredentials">Credentials\ServiceAccountJwtAccessCredentials</xref>
14-
- <xref uid="\Google\Auth\Credentials\UserRefreshCredentials">Credentials\UserRefreshCredentials</xref>
15-
- <xref uid="\Google\Auth\Credentials\ServiceAccountCredentials">Credentials\ServiceAccountCredentials</xref>
1614
- <xref uid="\Google\Auth\Credentials\GCECredentials">Credentials\GCECredentials</xref>
1715
- <xref uid="\Google\Auth\Credentials\ImpersonatedServiceAccountCredentials">Credentials\ImpersonatedServiceAccountCredentials</xref>
1816
- <xref uid="\Google\Auth\Credentials\InsecureCredentials">Credentials\InsecureCredentials</xref>
19-
- <xref uid="\Google\Auth\CredentialsLoader">CredentialsLoader</xref>
17+
- <xref uid="\Google\Auth\Credentials\ServiceAccountCredentials">Credentials\ServiceAccountCredentials</xref>
18+
- <xref uid="\Google\Auth\Credentials\ServiceAccountJwtAccessCredentials">Credentials\ServiceAccountJwtAccessCredentials</xref>
19+
- <xref uid="\Google\Auth\Credentials\UserRefreshCredentials">Credentials\UserRefreshCredentials</xref>
2020
- <xref uid="\Google\Auth\FetchAuthTokenCache">FetchAuthTokenCache</xref>
2121
- <xref uid="\Google\Auth\OAuth2">OAuth2</xref>
2222
type: class

0 commit comments

Comments
 (0)