diff --git a/lib/Providers/ContentProviders/MicrosoftContentProvider.php b/lib/Providers/ContentProviders/MicrosoftContentProvider.php index 4c270ff..fdd15e6 100644 --- a/lib/Providers/ContentProviders/MicrosoftContentProvider.php +++ b/lib/Providers/ContentProviders/MicrosoftContentProvider.php @@ -62,7 +62,7 @@ public function getContentForFile(File $file): string { $service->elementMap = [ self::ELEMENT_RELATIONSHIPS => function (Reader $reader) { $tree = $reader->parseInnerTree(); - $results = ['headers'=>[],'footers'=>[]]; + $results = ['headers' => [],'footers' => []]; foreach ($tree as $child) { if ($child['attributes']['Type'] === 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer') { @@ -82,7 +82,7 @@ public function getContentForFile(File $file): string { $rels = $service->parse($xml); } catch (ParseException $e) { // log - $rels = ['headers'=>[],'footers'=>[]]; + $rels = ['headers' => [],'footers' => []]; } $content = '';