[skip ci] docs: fix constant syntax in stubs.rst (#15785)

Constants are declared with `=` not `:`
This commit is contained in:
DanielEScherzer
2024-09-07 00:22:10 -07:00
committed by GitHub
parent 047f0c9657
commit 4a4574290f

View File

@ -31,7 +31,7 @@ using namespace blocks:
/** @var string */
const ANIMAL = "Elephant";
/** @var float */
const WEIGHT_TON: 6.8;
const WEIGHT_TON = 6.8;
class Atmopshere {
public function calculateBar(): float {}