Skip to content

Commit

Permalink
Merge branch '6.4' into 7.0
Browse files Browse the repository at this point in the history
* 6.4:
  [Serializer] Fix merge
  [VarExporter] add `#[Ignore]` to proxy-related methods to prevent them from being serialized
  • Loading branch information
derrabus committed Mar 19, 2024
2 parents 884cbab + 8b83945 commit 61d898b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,25 @@ public function __construct($freeTrial, $hasSubscribe, $getReady, $isActive)
$this->isActive = $isActive;
}

/**
* @SerializedName("free_trial_method")
*/
#[SerializedName('free_trial_method')]
public function getFreeTrial()
{
return $this->freeTrial;
}

/**
* @SerializedName("has_subscribe_method")
*/
#[SerializedName('has_subscribe_method')]
public function hasSubscribe()
{
return $this->hasSubscribe;
}

/**
* @SerializedName("get_ready_method")
*/
#[SerializedName('get_ready_method')]
public function getReady()
{
return $this->getReady;
}

/**
* @SerializedName("is_active_method")
*/
#[SerializedName('is_active_method')]
public function isActive()
{
return $this->isActive;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,16 @@

class SamePropertyAsMethodWithPropertySerializedNameDummy
{
/**
* @SerializedName("free_trial_property")
*/
#[SerializedName('free_trial_property')]
private $freeTrial;

/**
* @SerializedName("has_subscribe_property")
*/
#[SerializedName('has_subscribe_property')]
private $hasSubscribe;

/**
* @SerializedName("get_ready_property")
*/
#[SerializedName('get_ready_property')]
private $getReady;

/**
* @SerializedName("is_active_property")
*/
#[SerializedName('is_active_property')]
private $isActive;

public function __construct($freeTrial, $hasSubscribe, $getReady, $isActive)
Expand Down

0 comments on commit 61d898b

Please sign in to comment.