@@ -72,9 +72,9 @@ discard block |
||
| 72 | 72 | public $fldTerminator = '|'; |
| 73 | 73 | |
| 74 | 74 | /* Login Variables */ |
| 75 | - public $UIDalgorithm = 0; /* 0 = unencrypted, default */ |
|
| 76 | - public $PWDalgorithm = 0; /* undefined in documentation */ |
|
| 77 | - public $scLocation = ''; /* Location Code */ |
|
| 75 | + public $UIDalgorithm = 0; /* 0 = unencrypted, default */ |
|
| 76 | + public $PWDalgorithm = 0; /* undefined in documentation */ |
|
| 77 | + public $scLocation = ''; /* Location Code */ |
|
| 78 | 78 | |
| 79 | 79 | /* Debug */ |
| 80 | 80 | public $debug = false; |
@@ -672,10 +672,10 @@ discard block |
||
| 672 | 672 | ]; |
| 673 | 673 | |
| 674 | 674 | //expiration date is optional an indicated by BW |
| 675 | - $variableOffset=22; |
|
| 675 | + $variableOffset = 22; |
|
| 676 | 676 | if (substr($response, 22, 2) === 'BW') { |
| 677 | 677 | $result['fixed']['ExpirationDate'] = substr($response, 24, 18); |
| 678 | - $variableOffset=42; |
|
| 678 | + $variableOffset = 42; |
|
| 679 | 679 | } |
| 680 | 680 | |
| 681 | 681 | $result['variable'] = $this->parseVariableData($response, $variableOffset); |
@@ -743,7 +743,7 @@ discard block |
||
| 743 | 743 | } |
| 744 | 744 | //@codeCoverageIgnoreEnd |
| 745 | 745 | |
| 746 | - $result = $result . $terminator; |
|
| 746 | + $result = $result.$terminator; |
|
| 747 | 747 | } |
| 748 | 748 | |
| 749 | 749 | $this->logger->info("SIP2: result={$result}"); |
@@ -775,7 +775,7 @@ discard block |
||
| 775 | 775 | |
| 776 | 776 | /* Socket Communications */ |
| 777 | 777 | $this->logger->debug("SIP2: --- BEGIN SIP communication ---"); |
| 778 | - $address = $this->hostname . ':' . $this->port; |
|
| 778 | + $address = $this->hostname.':'.$this->port; |
|
| 779 | 779 | |
| 780 | 780 | $this->socket = $this->getSocketFactory()->createFromString($address, $scheme); |
| 781 | 781 | |
@@ -914,7 +914,7 @@ discard block |
||
| 914 | 914 | $this->logger->debug("SIP2: Skipping optional field {$field}"); |
| 915 | 915 | } else { |
| 916 | 916 | $this->noFixed = true; /* no more fixed for this message */ |
| 917 | - $this->msgBuild .= $field . substr($value, 0, 255) . $this->fldTerminator; |
|
| 917 | + $this->msgBuild .= $field.substr($value, 0, 255).$this->fldTerminator; |
|
| 918 | 918 | } |
| 919 | 919 | return true; |
| 920 | 920 | } |
@@ -923,7 +923,7 @@ discard block |
||
| 923 | 923 | { |
| 924 | 924 | /* Finalizes the message and returns it. Message will remain in msgBuild until newMessage is called */ |
| 925 | 925 | if ($withSeq) { |
| 926 | - $this->msgBuild .= 'AY' . $this->getSeqNumber(); |
|
| 926 | + $this->msgBuild .= 'AY'.$this->getSeqNumber(); |
|
| 927 | 927 | } |
| 928 | 928 | if ($withCrc) { |
| 929 | 929 | $this->msgBuild .= 'AZ'; |