PHPCS: Parameter types are declared wrong way

This commit is contained in:
Benoît Burnichon
2016-01-25 15:41:42 +01:00
parent 614394edc7
commit ce4b9f25d9

View File

@@ -146,7 +146,7 @@ class PDF
$irow = $ipage = 0; $irow = $ipage = 0;
$icol = -1; $icol = -1;
foreach ($this->records as $rec) { foreach ($this->records as $rec) {
/* @var $rec record_adapter */ /* @var \record_adapter $rec */
if (++$icol >= $NDiapoW) { if (++$icol >= $NDiapoW) {
$icol = 0; $icol = 0;
if (++$irow >= $NDiapoH) { if (++$irow >= $NDiapoH) {
@@ -226,7 +226,7 @@ class PDF
$ndoc = 0; $ndoc = 0;
foreach ($this->records as $rec) { foreach ($this->records as $rec) {
/* @var $rec record_adapter */ /* @var \record_adapter $rec */
$subdef = $rec->get_subdef('thumbnail'); $subdef = $rec->get_subdef('thumbnail');
$fimg = $subdef->getRealPath(); $fimg = $subdef->getRealPath();
@@ -322,7 +322,7 @@ class PDF
} }
foreach ($this->records as $krec => $rec) { foreach ($this->records as $krec => $rec) {
/* @var $rec record_adapter */ /* @var \record_adapter $rec */
$this->pdf->AddPage(); $this->pdf->AddPage();