WC_Data_Store | Exception throwing @throws PHPDoc comment added (#20352)
* Exception throwing @throws PHPDoc comment added * Exception throwing @throws PHPDoc comment added
This commit is contained in:
parent
f40f52ef14
commit
d8aa0aba90
|
@ -119,6 +119,8 @@ class WC_Data_Store {
|
|||
|
||||
/**
|
||||
* Re-run the constructor with the object type.
|
||||
*
|
||||
* @throws Exception When validation fails.
|
||||
*/
|
||||
public function __wakeup() {
|
||||
$this->__construct( $this->object_type );
|
||||
|
@ -130,6 +132,7 @@ class WC_Data_Store {
|
|||
* @param string $object_type Name of object.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @throws Exception When validation fails.
|
||||
* @return WC_Data_Store
|
||||
*/
|
||||
public static function load( $object_type ) {
|
||||
|
|
Loading…
Reference in New Issue