@@ -49,7 +49,7 @@ |
||
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | public function load(array $dictionary) { |
| 52 | - foreach($dictionary as $element) { |
|
| 52 | + foreach ($dictionary as $element) { |
|
| 53 | 53 | $this->register($element[0], $element['uri'] ?? null, $element['name'] ?? null); |
| 54 | 54 | } |
| 55 | 55 | } |
@@ -34,15 +34,15 @@ |
||
| 34 | 34 | { |
| 35 | 35 | parent::__construct($parser, $transport); |
| 36 | 36 | |
| 37 | - $this->_parser->factory->load(require __DIR__.'/XmlElementLookup.php'); |
|
| 37 | + $this->_parser->factory->load(require __DIR__ . '/XmlElementLookup.php'); |
|
| 38 | 38 | |
| 39 | 39 | $this->_lang = $lang; |
| 40 | 40 | |
| 41 | - $this->on('element', function (Features $element) { |
|
| 41 | + $this->on('element', function(Features $element) { |
|
| 42 | 42 | $this->handleFeatures($element); |
| 43 | 43 | }, Features::class); |
| 44 | 44 | |
| 45 | - $this->on('element', function (XmlElement $element) { |
|
| 45 | + $this->on('element', function(XmlElement $element) { |
|
| 46 | 46 | $this->handleTls($element); |
| 47 | 47 | }, with\xmlns(Features\StartTls::XMLNS)); |
| 48 | 48 | } |