Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2013-10-08 09:24:28 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-08 09:24:28 +0400
commit1fa8da9b963e99e08c829fe6491e8ccf2d1054e2 (patch)
tree137c50850a5f21f1651f8066d4bd381a661e1987 /core/ReportRenderer/Pdf.php
parentfcbef99dbf93df94ff5ed4cfaa5eeebfcf4aac14 (diff)
Applying phpstorm code style PSR refs #3771
Diffstat (limited to 'core/ReportRenderer/Pdf.php')
-rw-r--r--core/ReportRenderer/Pdf.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/ReportRenderer/Pdf.php b/core/ReportRenderer/Pdf.php
index de5c52770e..76a5d650c0 100644
--- a/core/ReportRenderer/Pdf.php
+++ b/core/ReportRenderer/Pdf.php
@@ -238,14 +238,14 @@ class Pdf extends ReportRenderer
(
// it is the first report
$this->currentPage == 0
- // or, it is a graph-only report and it is the first of a series of self::MAX_GRAPH_REPORTS
- || ($graphOnlyReport && $graphOnlyReportCount == 0)
- // or, it is a table-only 2-column report and it is the first of a series of self::MAX_2COL_TABLE_REPORTS
- || ($tableOnly2ColumnReport && $tableOnly2ColumnReportCount == 0)
- // or it is a table-only report with more than 2 columns and it is the first of its series or there isn't enough space left on the page
- || ($tableOnlyManyColumnReport && ($tableOnlyManyColumnReportRowCount == 0 || $tableOnlyManyColumnReportRowCount + $rowCount >= self::MAX_ROW_COUNT))
- // or it is a report with both a table and a graph
- || !$graphOnlyReport && !$tableOnlyReport
+ // or, it is a graph-only report and it is the first of a series of self::MAX_GRAPH_REPORTS
+ || ($graphOnlyReport && $graphOnlyReportCount == 0)
+ // or, it is a table-only 2-column report and it is the first of a series of self::MAX_2COL_TABLE_REPORTS
+ || ($tableOnly2ColumnReport && $tableOnly2ColumnReportCount == 0)
+ // or it is a table-only report with more than 2 columns and it is the first of its series or there isn't enough space left on the page
+ || ($tableOnlyManyColumnReport && ($tableOnlyManyColumnReportRowCount == 0 || $tableOnlyManyColumnReportRowCount + $rowCount >= self::MAX_ROW_COUNT))
+ // or it is a report with both a table and a graph
+ || !$graphOnlyReport && !$tableOnlyReport
)
) {
$this->currentPage++;