Skip to content

Commit

Permalink
Fix parent:: usage
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhramtsov committed Dec 7, 2019
1 parent cba5827 commit ef297d3
Show file tree
Hide file tree
Showing 105 changed files with 105 additions and 630 deletions.
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/ANetApiRequestType.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/ANetApiResponseType.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/ARBSubscriptionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/ArbTransactionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/ArrayOfSettingType.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/AuDetailsType.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/AuResponseType.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/BankAccountMaskedType.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/BankAccountType.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/BatchDetailsType.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/BatchStatisticType.php
Original file line number Diff line number Diff line change
Expand Up @@ -606,12 +606,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/CardArtType.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/CcAuthenticationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/CreditCardMaskedType.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/CreditCardSimpleType.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/CreditCardTrackType.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/CustomerDataType.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/CustomerProfileIdType.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
7 changes: 1 addition & 6 deletions lib/net/authorize/api/contract/v1/CustomerType.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,7 @@ function ($val){
}
}
}
if (get_parent_class() == ""){
return $values;
}
else{
return array_merge(parent::jsonSerialize(), $values);
}
return $values;
}

// Json Set Code
Expand Down
Loading

0 comments on commit ef297d3

Please sign in to comment.