Skip to content

Commit 6f7bba5

Browse files
committed
Fix PHP 5.3: used [] instead of array()
1 parent b5631ec commit 6f7bba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/XfdfFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct($data, $suffix = null, $prefix = null, $directory =
5151
rename($this->_fileName, $newName);
5252
$this->_fileName = $newName;
5353

54-
$fields = [];
54+
$fields = array();
5555
foreach ($data as $key=>$value) {
5656
// Always convert to UTF-8
5757
if ($encoding!=='UTF-8') {

0 commit comments

Comments
 (0)