Use short array declaration

This commit is contained in:
Romain Neutron
2013-11-18 11:58:12 +01:00
parent 2898b317c4
commit 56b373ee6e
723 changed files with 8350 additions and 8352 deletions

View File

@@ -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("<", ">", "&")
["&lt;", "&gt;", "&amp;"]
, ["<", ">", "&"]
, strip_tags($field->get_serialized_values())
);