Skip to content
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

Core app/laravel9 #9

Draft
wants to merge 2 commits into
base: PHP7.3
Choose a base branch
from
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par
* @return mixed Returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource.
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/AplusResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/AsinMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/ContentModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/ContentRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/Decorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/ErrorList.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/ImageOffsets.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/PlainTextItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Model/APlus/PublishRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public function offsetUnset($offset) : void
* @return mixed returns data which can be serialized by json_encode(), which is a value
* of any type other than a resource
*/
public function jsonSerialize() : string
public function jsonSerialize() : mixed
{
return \json_encode(ObjectSerializer::sanitizeForSerialization($this), JSON_THROW_ON_ERROR);
}
Expand Down
Loading