| 1 | <?php |
||
| 20 | class QRString extends QROutputAbstract{ |
||
| 21 | |||
| 22 | protected $optionsInterface = QRStringOptions::class; |
||
| 23 | |||
| 24 | protected $types = [ |
||
| 25 | QRCode::OUTPUT_STRING_TEXT, |
||
| 26 | QRCode::OUTPUT_STRING_JSON, |
||
| 27 | ]; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function dump(){ |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | protected function toString(){ |
||
| 61 | |||
| 62 | } |
||
| 63 |
According to the PSR-2, the body of a case statement must start on the line immediately following the case statement.
}
To learn more about the PSR-2 coding standard, please refer to the PHP-Fig.