Completed
Push — master ( 3cecaa...777c1d )
by Kacper
03:21
created
Xml/XmlElementFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
XmppStream.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,15 +34,15 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.