Skip to content

Commit

Permalink
[skip ci] docs: fix constant syntax in stubs.rst (php#15785)
Browse files Browse the repository at this point in the history
Constants are declared with `=` not `:`
  • Loading branch information
DanielEScherzer authored Sep 7, 2024
1 parent 047f0c9 commit 4a45742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/miscellaneous/stubs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit 4a45742

Please sign in to comment.