| @@ -64,12 +64,12 @@ | ||
| 64 | 64 | /** |
| 65 | 65 | * Retrieves data from a transient. |
| 66 | 66 | * |
| 67 | 67 | * @param string $key The key to retrieve data for. |
| 68 | - * @return mixed The stored data or false if the transient doesn't exist or has expired. | |
| 68 | + * @return array<string, mixed>|false The stored data or false if the transient doesn't exist or has expired. | |
| 69 | 69 | */ |
| 70 | 70 | public function get( string $key ) { |
| 71 | - return get_transient( $this->get_key( $key ) ); | |
| 71 | + return self::normalize_value( get_transient( $this->get_key( $key ) ) ); | |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | 75 | * Deletes a specific transient. |