Skip to content

Commit effd7cc

Browse files
committed
flag internal code
1 parent 25698f8 commit effd7cc

File tree

6 files changed

+20
-0
lines changed

6 files changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99
### Changed
1010

1111
- Use more precise primitive types
12+
- `Innmind\Graphviz\Attribute\Value` is now internal
13+
- `Innmind\Graphviz\Node::attributes()` is now internal
14+
- `Innmind\Graphviz\Node\Shape::attributes()` is now internal
15+
- `Innmind\Graphviz\Graph::roots()` is now internal
16+
- `Innmind\Graphviz\Graph::nodes()` is now internal
17+
- `Innmind\Graphviz\Graph::attributes()` is now internal
18+
- `Innmind\Graphviz\Edge::attributes()` is now internal
1219

1320
### Removed
1421

src/Attribute/Value.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Innmind\Immutable\Str;
88

99
/**
10+
* @internal
1011
* @psalm-immutable
1112
*/
1213
final class Value

src/Edge.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ public function filled(): self
127127
}
128128

129129
/**
130+
* @internal
131+
*
130132
* @return Map<string, string>
131133
*/
132134
public function attributes(): Map

src/Graph.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ public function add(Node $node): self
144144
}
145145

146146
/**
147+
* @internal
148+
*
147149
* @return Set<Node>
148150
*/
149151
public function roots(): Set
@@ -160,6 +162,8 @@ public function roots(): Set
160162
}
161163

162164
/**
165+
* @internal
166+
*
163167
* @return Set<Node>
164168
*/
165169
public function nodes(): Set
@@ -235,6 +239,8 @@ public function target(Url $url): self
235239
}
236240

237241
/**
242+
* @internal
243+
*
238244
* @return Map<string, string>
239245
*/
240246
public function attributes(): Map

src/Node.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ public function shaped(Shape $shape): self
139139
}
140140

141141
/**
142+
* @internal
143+
*
142144
* @return Map<string, string>
143145
*/
144146
public function attributes(): Map

src/Node/Shape.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ public function fillWithColor(RGBA $color): self
283283
}
284284

285285
/**
286+
* @internal
287+
*
286288
* @return Map<string, string>
287289
*/
288290
public function attributes(): Map

0 commit comments

Comments
 (0)