Skip to content

Commit a03314e

Browse files
authored
Apply fixes from StyleCI (spatie#113)
1 parent dcd3ce6 commit a03314e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ArrayToXml.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Spatie\ArrayToXml;
44

5+
use Exception;
56
use DOMElement;
67
use DOMDocument;
78
use DOMException;
8-
use Exception;
99

1010
class ArrayToXml
1111
{
@@ -77,7 +77,8 @@ public function toDom(): DOMDocument
7777
return $this->document;
7878
}
7979

80-
protected function ensureValidDomProperties(array $domProperties) {
80+
protected function ensureValidDomProperties(array $domProperties)
81+
{
8182
foreach ($domProperties as $key => $value) {
8283
if (! property_exists($this->document, $key)) {
8384
throw new Exception($key.' is not a valid property of DOMDocument');

0 commit comments

Comments
 (0)