Skip to content

Commit 9179dc5

Browse files
committed
Merge pull request #8 from manuakasam/patch-1
Fixed little parsing error
2 parents c479871 + 343f912 commit 9179dc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class ReportController extends AbstractActionController
5151
public function monthlyReportPdfAction()
5252
{
5353
$pdf = new PdfModel();
54-
$pdf->setOption('filename', 'monthly-report'), // Triggers PDF download, automatically appends ".pdf"
54+
$pdf->setOption('filename', 'monthly-report'); // Triggers PDF download, automatically appends ".pdf"
5555
$pdf->setOption('paperSize', 'a4'); // Defaults to "8x11"
5656
$pdf->setOption('paperOrientation', 'landscape'); // Defaults to "portrait"
5757

@@ -61,4 +61,4 @@ class ReportController extends AbstractActionController
6161
```
6262

6363
## To-do
64-
- Add command line support.
64+
- Add command line support.

0 commit comments

Comments
 (0)