htmlburger /
carbon-fields
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Carbon_Fields\Container; |
||
| 4 | |||
| 5 | /** |
||
| 6 | * Broken container class. |
||
| 7 | * Used when a container is gets misconfigured. |
||
| 8 | **/ |
||
| 9 | class Broken_Container extends Container { |
||
| 10 | function add_template() {} |
||
|
0 ignored issues
–
show
|
|||
| 11 | function add_fields() {} |
||
|
0 ignored issues
–
show
|
|||
| 12 | function init() {} |
||
|
0 ignored issues
–
show
|
|||
| 13 | } |
||
| 14 | |||
| 15 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.