mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Use short array declaration
This commit is contained in:
@@ -36,7 +36,7 @@ class PDF
|
||||
{
|
||||
$this->app = $app;
|
||||
|
||||
$list = array();
|
||||
$list = [];
|
||||
|
||||
foreach ($records as $record) {
|
||||
switch ($layout) {
|
||||
@@ -458,8 +458,8 @@ class PDF
|
||||
$this->pdf->SetFont(PhraseaPDF::FONT, '', 12);
|
||||
|
||||
$t = str_replace(
|
||||
array("<", ">", "&")
|
||||
, array("<", ">", "&")
|
||||
["<", ">", "&"]
|
||||
, ["<", ">", "&"]
|
||||
, strip_tags($field->get_serialized_values())
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user