Apply fixes from StyleCI

This commit is contained in:
yunwuxin
2017-03-23 03:04:45 +00:00
committed by ThinkPHP
parent 6fa48e2501
commit fe30e3a0e7

View File

@@ -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)) {