Skip to content

Commit 4a45742

Browse files
[skip ci] docs: fix constant syntax in stubs.rst (#15785)
Constants are declared with `=` not `:`
1 parent 047f0c9 commit 4a45742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/miscellaneous/stubs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ using namespace blocks:
3131
/** @var string */
3232
const ANIMAL = "Elephant";
3333
/** @var float */
34-
const WEIGHT_TON: 6.8;
34+
const WEIGHT_TON = 6.8;
3535
3636
class Atmopshere {
3737
public function calculateBar(): float {}

0 commit comments

Comments
 (0)