Added comment getMessage() for Constants.

This commit is contained in:
沈唁 2021-11-02 18:40:16 +08:00 committed by GitHub
parent 37fc92eea3
commit 975cf496ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,9 @@ use Hyperf\Contract\TranslatorInterface;
use Hyperf\Utils\ApplicationContext;
use Hyperf\Utils\Str;
/**
* @method static string getMessage(int $code, $translate = null)
*/
abstract class AbstractConstants
{
public static function __callStatic($name, $arguments)