| 1 | <?php |
||
| 21 | final class ExampleShortCode |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Constructor. |
||
| 25 | */ |
||
| 26 | public function __construct() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * The callback example short code method. |
||
| 33 | * |
||
| 34 | * @param string|array $attributes The attributes param, can be string but often is an array |
||
| 35 | * @param string $content The content |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function exampleShortCode($attributes, $content = '') |
||
| 43 | } |
||
|
|
|||
| 44 |
This check marks files that end in a newline character, i.e. an empy line.