changed keyword order
This commit is contained in:
parent
e43580f3f9
commit
19a2066fc2
15 changed files with 41 additions and 40 deletions
|
|
@ -5,12 +5,12 @@ use App\Models\ErrorTemplate;
|
|||
use TikScraper\Models\Meta;
|
||||
|
||||
class ErrorHandler {
|
||||
static public function showMeta(Meta $meta) {
|
||||
public static function showMeta(Meta $meta) {
|
||||
http_response_code($meta->http_code);
|
||||
Wrappers::latte('error', new ErrorTemplate($meta->http_code, $meta->tiktok_msg, $meta->tiktok_code));
|
||||
}
|
||||
|
||||
static public function showText(int $code, string $msg) {
|
||||
public static function showText(int $code, string $msg) {
|
||||
http_response_code($code);
|
||||
Wrappers::latte('error', new ErrorTemplate($code, $msg));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue