Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | public function print(): string |
||
31 | { |
||
32 | return sprintf("```php\n%s\n```" . PHP_EOL, str_replace( |
||
33 | PHP_EOL . PHP_EOL, |
||
34 | PHP_EOL . PHP_EOL . $this->ioSamples->map(function ($ioSample): string { |
||
35 | return implode('', [ |
||
36 | sprintf('// uri: %s' . PHP_EOL, $ioSample->uri), |
||
37 | sprintf('// sql: %s' . PHP_EOL, $ioSample->sql), |
||
38 | ]); |
||
39 | })->implode(''), |
||
40 | $this->code |
||
41 | )); |
||
44 |