Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions php/class-wp-cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ public static function success( $message ) {
* @access public
* @category Output
*
* @param string $message Message to write to STDERR.
* @param string|WP_Error|Exception|Throwable $message Message to write to STDERR.
* @param string|bool $group Organize debug message to a specific group.
* Use `false` to not group the message.
* @return null
Expand Down Expand Up @@ -801,7 +801,7 @@ public static function debug( $message, $group = false ) {
* @access public
* @category Output
*
* @param string $message Message to write to STDERR.
* @param string|WP_Error|Exception|Throwable $message Message to write to STDERR.
* @return null
*/
public static function warning( $message ) {
Expand All @@ -827,7 +827,7 @@ public static function warning( $message ) {
* @access public
* @category Output
*
* @param string|WP_Error|Exception $message Message to write to STDERR.
* @param string|WP_Error|Exception|Throwable $message Message to write to STDERR.
* @param boolean|integer $exit True defaults to exit(1).
* @return null
*/
Expand Down Expand Up @@ -980,7 +980,7 @@ public static function print_value( $value, $assoc_args = array() ) {
/**
* Convert a WP_Error or Exception into a string
*
* @param mixed $errors
* @param string|WP_Error|Exception|Throwable $errors
* @throws \InvalidArgumentException
*
* @return string
Expand Down