mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-03 05:41:38 +08:00
Apply fixes from StyleCI
This commit is contained in:
@@ -369,7 +369,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
|
||||
protected function writeTransform($value, $type)
|
||||
{
|
||||
if (is_null($value)) {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_array($type)) {
|
||||
@@ -481,7 +481,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
|
||||
protected function readTransform($value, $type)
|
||||
{
|
||||
if (is_null($value)) {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_array($type)) {
|
||||
|
||||
Reference in New Issue
Block a user