Added return type static into Cacheable.

This commit is contained in:
Deeka Wong 2022-06-10 15:15:01 +08:00 committed by GitHub
parent 517396566e
commit c6f53bd7f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,7 @@ trait Cacheable
/**
* @param bool $cache Whether to delete the model cache when batch update
* @return Builder|static
*/
public static function query(bool $cache = false): Builder
{