@@ 37-46 (lines=10) @@ | ||
34 | ||
35 | } |
|
36 | ||
37 | if ($codeLines > self::MAX_CODE_LINES) { |
|
38 | ||
39 | $answer = \Lang::get('long.code_personal', [ |
|
40 | 'user' => $message->user->login, |
|
41 | ]); |
|
42 | ||
43 | $message->italic($answer); |
|
44 | ||
45 | return null; |
|
46 | } |
|
47 | ||
48 | } elseif ($lines > self::MAX_LINES || $chars > self::MAX_CHARS) { |
|
49 | ||
@@ 48-57 (lines=10) @@ | ||
45 | return null; |
|
46 | } |
|
47 | ||
48 | } elseif ($lines > self::MAX_LINES || $chars > self::MAX_CHARS) { |
|
49 | ||
50 | $answer = \Lang::get('long.text_personal', [ |
|
51 | 'user' => $message->user->login, |
|
52 | ]); |
|
53 | ||
54 | $message->italic($answer); |
|
55 | ||
56 | return null; |
|
57 | } |
|
58 | ||
59 | return $message; |
|
60 | } |