@@ -24,13 +24,13 @@ discard block |
||
| 24 | 24 | * @param array $config |
| 25 | 25 | */ |
| 26 | 26 | public function __construct(?Context $context = null, ?RecursiveStringPath $recursiveAccessor = null, ?ObjectProxyFactory $objectProxyFactory = null, array $config = []) { |
| 27 | - if($context === null) { |
|
| 27 | + if ($context === null) { |
|
| 28 | 28 | $context = new HtmlContext(); |
| 29 | 29 | } |
| 30 | - if($recursiveAccessor === null) { |
|
| 30 | + if ($recursiveAccessor === null) { |
|
| 31 | 31 | $recursiveAccessor = new RecursiveStringPath(); |
| 32 | 32 | } |
| 33 | - if($objectProxyFactory === null) { |
|
| 33 | + if ($objectProxyFactory === null) { |
|
| 34 | 34 | $objectProxyFactory = new ObjectProxyFactory($context); |
| 35 | 35 | } |
| 36 | 36 | $this->context = $context; |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | * @return array |
| 65 | 65 | */ |
| 66 | 66 | public function getPaths() { |
| 67 | - if(array_key_exists('paths', $this->config)) { |
|
| 67 | + if (array_key_exists('paths', $this->config)) { |
|
| 68 | 68 | return $this->config['paths']; |
| 69 | 69 | } |
| 70 | 70 | return []; |