Skip to content

Fix: Add ReturnTypeWillChange attribute #276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
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
Fix: Add ReturnTypeWillChange attribute
  • Loading branch information
localheinz committed Aug 29, 2023
commit 13b19db1bb47af3d7df7a2cdd9e3efab79105a03
1 change: 1 addition & 0 deletions src/Optimizely/Decide/OptimizelyDecision.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public function getReasons()
return $this->reasons;
}

#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return get_object_vars($this);
Expand Down
1 change: 1 addition & 0 deletions src/Optimizely/OptimizelyConfig/OptimizelyAttribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function getKey()
/**
* @return string JSON representation of the object.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return get_object_vars($this);
Expand Down
1 change: 1 addition & 0 deletions src/Optimizely/OptimizelyConfig/OptimizelyAudience.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public function getConditions()
/**
* @return string JSON representation of the object.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return get_object_vars($this);
Expand Down
1 change: 1 addition & 0 deletions src/Optimizely/OptimizelyConfig/OptimizelyConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public function getEvents()
/**
* @return string JSON representation of the object.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return get_object_vars($this);
Expand Down
1 change: 1 addition & 0 deletions src/Optimizely/OptimizelyConfig/OptimizelyEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public function getExperimentIds()
/**
* @return string JSON representation of the object.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return get_object_vars($this);
Expand Down
1 change: 1 addition & 0 deletions src/Optimizely/OptimizelyConfig/OptimizelyExperiment.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public function getVariationsMap()
/**
* @return string JSON representation of the object.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return get_object_vars($this);
Expand Down
1 change: 1 addition & 0 deletions src/Optimizely/OptimizelyConfig/OptimizelyFeature.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public function getVariablesMap()
/**
* @return string JSON representation of the object.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return get_object_vars($this);
Expand Down
1 change: 1 addition & 0 deletions src/Optimizely/OptimizelyConfig/OptimizelyVariable.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public function getValue()
/**
* @return string JSON representation of the object.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return get_object_vars($this);
Expand Down
1 change: 1 addition & 0 deletions src/Optimizely/OptimizelyConfig/OptimizelyVariation.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public function getVariablesMap()
* @return string JSON representation of the object.
* Unsets featureEnabled property for variations of ab experiments.
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
$props = get_object_vars($this);
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy