Skip to content

Commit a24f408

Browse files
Switch around method definition
1 parent a3aed01 commit a24f408

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WP_CLI/CommandWithUpgrade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ protected function get_formatter( &$assoc_args ) {
630630
* Error handler to ignore failures on accessing SSL "https://api.wordpress.org/themes/update-check/1.1/" in `wp_update_themes()`
631631
* and "https://api.wordpress.org/plugins/update-check/1.1/" in `wp_update_plugins()` which seem to occur intermittently.
632632
*/
633-
static public function error_handler( $errno, $errstr, $errfile, $errline, $errcontext = null ) {
633+
public static function error_handler( $errno, $errstr, $errfile, $errline, $errcontext = null ) {
634634
// If ignoring E_USER_WARNING | E_USER_NOTICE, default.
635635
if ( ! ( error_reporting() & $errno ) ) {
636636
return false;

0 commit comments

Comments
 (0)