mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-03 05:52:48 +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)) {
|
||||
|
||||
@@ -132,7 +132,7 @@ EOF;
|
||||
protected function normalizePath($path)
|
||||
{
|
||||
if ($path === false) {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
$parts = [];
|
||||
$path = strtr($path, '\\', '/');
|
||||
|
||||
Reference in New Issue
Block a user