Skip to content

Commit 3916959

Browse files
Fix PHPCS docblock spacing alignment
Adjust spacing in @param declarations to align parameter names correctly when using longer type declarations like array<string, mixed>
1 parent e822326 commit 3916959

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

  • classes/Visualizer/Module

classes/Visualizer/Module/AI.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ public function analyzeChartImage() {
181181
*
182182
* @access private
183183
*
184-
* @param string $model The AI model to use.
185-
* @param string $prompt The user prompt.
186-
* @param string $chart_type The chart type.
187-
* @param array<string, mixed> $chat_history Previous conversation history.
188-
* @param string $current_config Current manual configuration.
184+
* @param string $model The AI model to use.
185+
* @param string $prompt The user prompt.
186+
* @param string $chart_type The chart type.
187+
* @param array<string, mixed> $chat_history Previous conversation history.
188+
* @param string $current_config Current manual configuration.
189189
*
190190
* @return array<string, mixed>|WP_Error The response with message and optional configuration.
191191
*/
@@ -321,10 +321,10 @@ private function _getChartTypeOptions( $chart_type ) {
321321
*
322322
* @access private
323323
*
324-
* @param string $prompt The user prompt.
325-
* @param string $chart_type The chart type.
326-
* @param array<string, mixed> $chat_history Previous conversation history.
327-
* @param string $current_config Current manual configuration.
324+
* @param string $prompt The user prompt.
325+
* @param string $chart_type The chart type.
326+
* @param array<string, mixed> $chat_history Previous conversation history.
327+
* @param string $current_config Current manual configuration.
328328
*
329329
* @return array<string, mixed>|WP_Error The response with message and optional configuration.
330330
*/
@@ -423,10 +423,10 @@ private function _callOpenAI( $prompt, $chart_type, $chat_history = array(), $cu
423423
*
424424
* @access private
425425
*
426-
* @param string $prompt The user prompt.
427-
* @param string $chart_type The chart type.
428-
* @param array<string, mixed> $chat_history Previous conversation history.
429-
* @param string $current_config Current manual configuration.
426+
* @param string $prompt The user prompt.
427+
* @param string $chart_type The chart type.
428+
* @param array<string, mixed> $chat_history Previous conversation history.
429+
* @param string $current_config Current manual configuration.
430430
*
431431
* @return array<string, mixed>|WP_Error The response with message and optional configuration.
432432
*/
@@ -501,10 +501,10 @@ private function _callGemini( $prompt, $chart_type, $chat_history = array(), $cu
501501
*
502502
* @access private
503503
*
504-
* @param string $prompt The user prompt.
505-
* @param string $chart_type The chart type.
506-
* @param array<string, mixed> $chat_history Previous conversation history.
507-
* @param string $current_config Current manual configuration.
504+
* @param string $prompt The user prompt.
505+
* @param string $chart_type The chart type.
506+
* @param array<string, mixed> $chat_history Previous conversation history.
507+
* @param string $current_config Current manual configuration.
508508
*
509509
* @return array<string, mixed>|WP_Error The response with message and optional configuration.
510510
*/

0 commit comments

Comments
 (0)