Skip to content

Commit 9d83818

Browse files
committed
format
1 parent 55bc81d commit 9d83818

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/src/model/documentation_comment.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ final _htmlInjectRegExp = RegExp(r'<dartdoc-html>([a-f0-9]+)</dartdoc-html>');
4040
/// entrypoints.
4141
mixin DocumentationComment
4242
implements Documentable, Warnable, Locatable, SourceCode {
43-
4443
@override
4544
Element2 get element2;
4645

@@ -91,7 +90,8 @@ mixin DocumentationComment
9190
/// * the element has no documentation comment,
9291
/// * the documentation comment contains the `@nodoc` dartdoc directive.
9392
late final bool hasNodoc = () {
94-
if (packageGraph.configSetsNodocFor(element2.library2!.firstFragment.source.fullName)) {
93+
if (packageGraph
94+
.configSetsNodocFor(element2.library2!.firstFragment.source.fullName)) {
9595
return true;
9696
}
9797
if (!hasDocumentationComment) {

lib/src/model/method.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class Method extends ModelElement
3636
_calcTypeParameters();
3737
}
3838

39-
Method.inherited(
40-
this.element2, this._enclosingContainer, super.library, super.packageGraph,
39+
Method.inherited(this.element2, this._enclosingContainer, super.library,
40+
super.packageGraph,
4141
{ExecutableMember? super.originalMember})
4242
: _isInherited = true {
4343
_calcTypeParameters();
@@ -133,7 +133,7 @@ class Method extends ModelElement
133133
}
134134
var parent = element2.enclosingElement2 as InterfaceElement2;
135135
for (var t in parent.allSupertypes) {
136-
Element2? e = t.getMethod2(element2.name3 ?? '');
136+
Element2? e = t.getMethod2(element2.name3 ?? '');
137137
if (e != null) {
138138
assert(
139139
e.enclosingElement2 is InterfaceElement2,

0 commit comments

Comments
 (0)