@@ -86,6 +86,8 @@ public function __construct($output = null, string $charset = null, int $flags =
8686
8787 /**
8888 * Enables/disables colored output.
89+ *
90+ * @return void
8991 */
9092 public function setColors (bool $ colors )
9193 {
@@ -94,6 +96,8 @@ public function setColors(bool $colors)
9496
9597 /**
9698 * Sets the maximum number of characters per line for dumped strings.
99+ *
100+ * @return void
97101 */
98102 public function setMaxStringWidth (int $ maxStringWidth )
99103 {
@@ -104,6 +108,8 @@ public function setMaxStringWidth(int $maxStringWidth)
104108 * Configures styles.
105109 *
106110 * @param array $styles A map of style names to style definitions
111+ *
112+ * @return void
107113 */
108114 public function setStyles (array $ styles )
109115 {
@@ -114,12 +120,17 @@ public function setStyles(array $styles)
114120 * Configures display options.
115121 *
116122 * @param array $displayOptions A map of display options to customize the behavior
123+ *
124+ * @return void
117125 */
118126 public function setDisplayOptions (array $ displayOptions )
119127 {
120128 $ this ->displayOptions = $ displayOptions + $ this ->displayOptions ;
121129 }
122130
131+ /**
132+ * @return void
133+ */
123134 public function dumpScalar (Cursor $ cursor , string $ type , string |int |float |bool |null $ value )
124135 {
125136 $ this ->dumpKey ($ cursor );
@@ -175,6 +186,9 @@ public function dumpScalar(Cursor $cursor, string $type, string|int|float|bool|n
175186 $ this ->endValue ($ cursor );
176187 }
177188
189+ /**
190+ * @return void
191+ */
178192 public function dumpString (Cursor $ cursor , string $ str , bool $ bin , int $ cut )
179193 {
180194 $ this ->dumpKey ($ cursor );
@@ -260,6 +274,9 @@ public function dumpString(Cursor $cursor, string $str, bool $bin, int $cut)
260274 }
261275 }
262276
277+ /**
278+ * @return void
279+ */
263280 public function enterHash (Cursor $ cursor , int $ type , string |int |null $ class , bool $ hasChild )
264281 {
265282 $ this ->colors ??= $ this ->supportsColors ();
@@ -296,6 +313,9 @@ public function enterHash(Cursor $cursor, int $type, string|int|null $class, boo
296313 }
297314 }
298315
316+ /**
317+ * @return void
318+ */
299319 public function leaveHash (Cursor $ cursor , int $ type , string |int |null $ class , bool $ hasChild , int $ cut )
300320 {
301321 if (empty ($ cursor ->attr ['cut_hash ' ])) {
@@ -311,6 +331,8 @@ public function leaveHash(Cursor $cursor, int $type, string|int|null $class, boo
311331 *
312332 * @param bool $hasChild When the dump of the hash has child item
313333 * @param int $cut The number of items the hash has been cut by
334+ *
335+ * @return void
314336 */
315337 protected function dumpEllipsis (Cursor $ cursor , bool $ hasChild , int $ cut )
316338 {
@@ -327,6 +349,8 @@ protected function dumpEllipsis(Cursor $cursor, bool $hasChild, int $cut)
327349
328350 /**
329351 * Dumps a key in a hash structure.
352+ *
353+ * @return void
330354 */
331355 protected function dumpKey (Cursor $ cursor )
332356 {
@@ -530,6 +554,9 @@ protected function supportsColors(): bool
530554 return static ::$ defaultColors = $ this ->hasColorSupport ($ h );
531555 }
532556
557+ /**
558+ * @return void
559+ */
533560 protected function dumpLine (int $ depth , bool $ endOfValue = false )
534561 {
535562 if ($ this ->colors ) {
@@ -538,6 +565,9 @@ protected function dumpLine(int $depth, bool $endOfValue = false)
538565 parent ::dumpLine ($ depth );
539566 }
540567
568+ /**
569+ * @return void
570+ */
541571 protected function endValue (Cursor $ cursor )
542572 {
543573 if (-1 === $ cursor ->hashType ) {
0 commit comments