@@ -20,51 +20,71 @@ interface StyleInterface
2020{
2121 /**
2222 * Formats a command title.
23+ *
24+ * @return void
2325 */
2426 public function title (string $ message );
2527
2628 /**
2729 * Formats a section title.
30+ *
31+ * @return void
2832 */
2933 public function section (string $ message );
3034
3135 /**
3236 * Formats a list.
37+ *
38+ * @return void
3339 */
3440 public function listing (array $ elements );
3541
3642 /**
3743 * Formats informational text.
44+ *
45+ * @return void
3846 */
3947 public function text (string |array $ message );
4048
4149 /**
4250 * Formats a success result bar.
51+ *
52+ * @return void
4353 */
4454 public function success (string |array $ message );
4555
4656 /**
4757 * Formats an error result bar.
58+ *
59+ * @return void
4860 */
4961 public function error (string |array $ message );
5062
5163 /**
5264 * Formats an warning result bar.
65+ *
66+ * @return void
5367 */
5468 public function warning (string |array $ message );
5569
5670 /**
5771 * Formats a note admonition.
72+ *
73+ * @return void
5874 */
5975 public function note (string |array $ message );
6076
6177 /**
6278 * Formats a caution admonition.
79+ *
80+ * @return void
6381 */
6482 public function caution (string |array $ message );
6583
6684 /**
6785 * Formats a table.
86+ *
87+ * @return void
6888 */
6989 public function table (array $ headers , array $ rows );
7090
@@ -90,21 +110,29 @@ public function choice(string $question, array $choices, mixed $default = null):
90110
91111 /**
92112 * Add newline(s).
113+ *
114+ * @return void
93115 */
94116 public function newLine (int $ count = 1 );
95117
96118 /**
97119 * Starts the progress output.
120+ *
121+ * @return void
98122 */
99123 public function progressStart (int $ max = 0 );
100124
101125 /**
102126 * Advances the progress output X steps.
127+ *
128+ * @return void
103129 */
104130 public function progressAdvance (int $ step = 1 );
105131
106132 /**
107133 * Finishes the progress output.
134+ *
135+ * @return void
108136 */
109137 public function progressFinish ();
110138}
0 commit comments