Skip to content

Commit

Permalink
using old array constructor for older PHP support
Browse files Browse the repository at this point in the history
  • Loading branch information
prettyboymp committed Mar 16, 2017
1 parent 980500c commit 1538eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-data-store.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function __construct( $object_type ) {
* @return array
*/
public function __sleep() {
return [ 'object_type' ];
return array( 'object_type' );
}

/**
Expand Down

0 comments on commit 1538eb9

Please sign in to comment.