@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * |
39 | 39 | * @var Link[] |
40 | 40 | */ |
41 | - protected $documentLinks = []; |
|
41 | + protected $documentLinks = [ ]; |
|
42 | 42 | |
43 | 43 | /** |
44 | 44 | * Set a callback to call after a resource-object has created. |
@@ -109,11 +109,11 @@ discard block |
||
109 | 109 | { |
110 | 110 | $name = $link->getName(); |
111 | 111 | |
112 | - if (isset($this->documentLinks[$name])) { |
|
112 | + if (isset($this->documentLinks[ $name ])) { |
|
113 | 113 | throw new \LogicException(sprintf('Link "%s" already added to document.')); |
114 | 114 | } |
115 | 115 | |
116 | - $this->documentLinks[$name] = $link; |
|
116 | + $this->documentLinks[ $name ] = $link; |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |