1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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