These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of the league/commonmark package. |
||
5 | * |
||
6 | * (c) Colin O'Dell <[email protected]> |
||
7 | * |
||
8 | * Original code based on the CommonMark JS reference parser (https://bitly.com/commonmark-js) |
||
9 | * - (c) John MacFarlane |
||
10 | * |
||
11 | * For the full copyright and license information, please view the LICENSE |
||
12 | * file that was distributed with this source code. |
||
13 | */ |
||
14 | |||
15 | namespace League\CommonMark\Inline\Element; |
||
16 | |||
17 | @trigger_error('AbstractInlineContainer is deprecated and will be removed in a future version', E_USER_DEPRECATED); |
||
1 ignored issue
–
show
|
|||
18 | |||
19 | /** |
||
20 | * @deprecated |
||
21 | */ |
||
22 | abstract class AbstractInlineContainer extends AbstractInline |
||
23 | { |
||
24 | /** |
||
25 | * @return bool |
||
26 | */ |
||
27 | public function isContainer(): bool |
||
28 | { |
||
29 | return true; |
||
30 | } |
||
31 | } |
||
32 |
If you suppress an error, we recommend checking for the error condition explicitly: