Skip to content

Commit 4bf4d28

Browse files
committed
Detector: Improve PhpDoc
1 parent bc5f614 commit 4bf4d28

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/Detector.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ public function isDebugModeByCookie(): ?bool
7575
/**
7676
* Detect debug state by ENV parameter
7777
* ENV value vs. returned value:
78-
* - 0: false (force to turn-off debug mode)
79-
* - 1: true (force to turn-on debug mode)
80-
* - undefined or any other value: null
78+
* - `0`: `false` (force to turn-off debug mode)
79+
* - `1`: `true` (force to turn-on debug mode)
80+
* - `undefined` or any other value: `null`
81+
*
8182
* @return bool|null
8283
*/
8384
public function isDebugModeByEnv(): ?bool
@@ -93,8 +94,9 @@ public function isDebugModeByEnv(): ?bool
9394
/**
9495
* Detect debug state by locahost IP
9596
* Returned value:
96-
* - is localhost: true (force to turn-on debug mode)
97-
* - otherwise: null
97+
* - is localhost: `true` (force to turn-on debug mode)
98+
* - otherwise: `null`
99+
*
98100
* @return bool|null
99101
*/
100102
public function isDebugModeByIp(): ?bool

0 commit comments

Comments
 (0)