Passed
Push — master ( 49cefa...361424 )
by Dmitry
01:56
created
src/Provider31/Request/General.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      *      @var array list of possible operations
47 47
      */
48
-    protected $operations = array('Check','Payment','Confirm','Cancel');
48
+    protected $operations = array('Check', 'Payment', 'Confirm', 'Cancel');
49 49
 
50 50
     /**
51 51
      *      General constructor
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         $doc = new \DOMDocument();
116 116
         if ( ! $doc->loadXML($this->raw_request))
117 117
         {
118
-            foreach(libxml_get_errors() as $e){
118
+            foreach (libxml_get_errors() as $e) {
119 119
                 Log::instance()->error($e->message);
120 120
             }
121 121
             throw new Exception\Structure('The wrong XML is received', -51);
@@ -313,9 +313,9 @@  discard block
 block discarded – undo
313 313
      *
314 314
      *      @return array nodes with the name
315 315
      */
316
-    protected function getNodes($dom, $name, $ret=array())
316
+    protected function getNodes($dom, $name, $ret = array())
317 317
     {
318
-        foreach($dom->childNodes as $child)
318
+        foreach ($dom->childNodes as $child)
319 319
         {
320 320
             if ($child->nodeName == $name)
321 321
             {
Please login to merge, or discard this patch.