From fe30e3a0e7e4afa0c59af83fb6fc2e2263cab9d2 Mon Sep 17 00:00:00 2001 From: yunwuxin <448901948@qq.com> Date: Thu, 23 Mar 2017 03:04:45 +0000 Subject: [PATCH] Apply fixes from StyleCI --- library/think/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Model.php b/library/think/Model.php index 7ddec10c..b47110c0 100644 --- a/library/think/Model.php +++ b/library/think/Model.php @@ -1300,7 +1300,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess public static function get($data, $with = [], $cache = false) { if (is_null($data)) { - return null; + return; } if (true === $with || is_int($with)) {