[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {}