Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion src/Optimizely/OptimizelyUserContext.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2021-2022, Optimizely
* Copyright 2021-2023, Optimizely
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -147,6 +147,9 @@ public function getOptimizely()
return $this->optimizelyClient;
}

/**
* @return mixed
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Optimizely/UserProfile/UserProfileServiceInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2017, Optimizely Inc, and Contributors
* Copyright 2017, 2023, Optimizely Inc, and Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,7 +23,7 @@ interface UserProfileServiceInterface
*
* @param $userId string The ID of the user whose profile will be retrieved.
*
* @return userProfile array The user profile.
* @return array The user profile.
*/
public function lookup($userId);

Expand Down