Completed
Pull Request — master (#33)
by
unknown
03:17
created
src/Phpforce/SoapClient/EventListener/LogTransactionListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,13 +35,13 @@
 block discarded – undo
35 35
 
36 36
     public function onSalesforceClientSoapFault(Event\SoapFaultEvent $event)
37 37
     {
38
-        $this->logger->err('[Salesforce] fault: ' . $event->getSoapFault()->getMessage());
38
+        $this->logger->err('[Salesforce] fault: '.$event->getSoapFault()->getMessage());
39 39
     }
40 40
 
41 41
     public function onSalesforceClientError(Event\ErrorEvent $event)
42 42
     {
43 43
         $error = $event->getError();
44
-        $this->logger->err('[Salesforce] error: ' . $error->statusCode . ' - '
44
+        $this->logger->err('[Salesforce] error: '.$error->statusCode.' - '
45 45
                            . $error->message, get_object_vars($error));
46 46
     }
47 47
 
Please login to merge, or discard this patch.
src/Phpforce/SoapClient/Soap/TypeConverter/TypeConverterCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function set(TypeConverterInterface $converter)
53 53
     {
54
-        $this->converters[$converter->getTypeNamespace() . ':'
54
+        $this->converters[$converter->getTypeNamespace().':'
55 55
             . $converter->getTypeName()] = $converter;
56 56
 
57 57
         return $this;
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     public function has($namespace, $name)
70 70
     {
71
-        if (isset($this->converters[$namespace . ':' . $name])) {
71
+        if (isset($this->converters[$namespace.':'.$name])) {
72 72
             return true;
73 73
         }
74 74
 
Please login to merge, or discard this patch.
src/Phpforce/SoapClient/Client.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -467,7 +467,7 @@  discard block
 block discarded – undo
467 467
             $xml = '';
468 468
             if (isset($sObject->fieldsToNull)) {
469 469
                 foreach ($sObject->fieldsToNull as $fieldToNull) {
470
-                    $xml .= '<fieldsToNull>' . $fieldToNull . '</fieldsToNull>';
470
+                    $xml .= '<fieldsToNull>'.$fieldToNull.'</fieldsToNull>';
471 471
                 }
472 472
                 $fieldsToNullVar = new \SoapVar(new \SoapVar($xml, XSD_ANYXML), SOAP_ENC_ARRAY);
473 473
                 $sObject->fieldsToNull = $fieldsToNullVar;
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
         {
495 495
             $xml = '';
496 496
             foreach ($object->enc_value->fieldsToNull as $fieldToNull) {
497
-                $xml .= '<fieldsToNull>' . $fieldToNull . '</fieldsToNull>';
497
+                $xml .= '<fieldsToNull>'.$fieldToNull.'</fieldsToNull>';
498 498
             }
499 499
             return new \SoapVar(new \SoapVar($xml, XSD_ANYXML), SOAP_ENC_ARRAY);
500 500
         }
@@ -679,12 +679,12 @@  discard block
 block discarded – undo
679 679
             switch ($type) {
680 680
                 case 'date':
681 681
                     if ($value instanceof \DateTime) {
682
-                        $value  = $value->format('Y-m-d');
682
+                        $value = $value->format('Y-m-d');
683 683
                     }
684 684
                     break;
685 685
                 case 'dateTime':
686 686
                     if ($value instanceof \DateTime) {
687
-                        $value  = $value->format('Y-m-d\TH:i:sP');
687
+                        $value = $value->format('Y-m-d\TH:i:sP');
688 688
                     }
689 689
                     break;
690 690
                 case 'base64Binary':
Please login to merge, or discard this patch.