mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 12:03:14 +00:00
PHPCS: Parameter types are declared wrong way
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user