Completed
Push — master ( 83011e...d677b3 )
by rugk
02:25
created
source/Threema/MsgApi/Commands/SendSimple.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 	 * @param object $res
60 60
 	 * @return SendSimpleResult
61 61
 	 */
62
-	public function parseResult($httpCode, $res){
62
+	public function parseResult($httpCode, $res) {
63 63
 		return new SendSimpleResult($httpCode, $res);
64 64
 	}
65 65
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/DownloadFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	 * @param object $res
44 44
 	 * @return UploadFileResult
45 45
 	 */
46
-	public function parseResult($httpCode, $res){
46
+	public function parseResult($httpCode, $res) {
47 47
 		return new DownloadFileResult($httpCode, $res);
48 48
 	}
49 49
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/FetchPublicKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	 * @param object $res
43 43
 	 * @return FetchPublicKeyResult
44 44
 	 */
45
-	public function parseResult($httpCode, $res){
45
+	public function parseResult($httpCode, $res) {
46 46
 		return new FetchPublicKeyResult($httpCode, $res);
47 47
 	}
48 48
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/UploadFile.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
 	 * @param object $res
50 50
 	 * @return UploadFileResult
51 51
 	 */
52
-	public function parseResult($httpCode, $res){
52
+	public function parseResult($httpCode, $res) {
53 53
 		return new UploadFileResult($httpCode, $res);
54 54
 	}
55 55
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/Capability.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 	 * @param object $res
40 40
 	 * @return CapabilityResult
41 41
 	 */
42
-	public function parseResult($httpCode, $res){
42
+	public function parseResult($httpCode, $res) {
43 43
 		return new CapabilityResult($httpCode, $res);
44 44
 	}
45 45
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/Credits.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	 * @param object $res
28 28
 	 * @return CreditsResult
29 29
 	 */
30
-	public function parseResult($httpCode, $res){
30
+	public function parseResult($httpCode, $res) {
31 31
 		return new CreditsResult($httpCode, $res);
32 32
 	}
33 33
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Commands/SendE2E.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 	 * @param object $res
77 77
 	 * @return SendE2EResult
78 78
 	 */
79
-	public function parseResult($httpCode, $res){
79
+	public function parseResult($httpCode, $res) {
80 80
 		return new SendE2EResult($httpCode, $res);
81 81
 	}
82 82
 }
Please login to merge, or discard this patch.
source/Threema/MsgApi/Tools/CryptToolSodiumDep.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
 	 * @throws Exception
122 122
 	 */
123 123
 	public function validate() {
124
-		if(false === $this->isSupported()) {
124
+		if (false === $this->isSupported()) {
125 125
 			throw new Exception('Sodium implementation not supported');
126 126
 		}
127 127
 		return true;
Please login to merge, or discard this patch.
source/Threema/MsgApi/Messages/DeliveryReceipt.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 	 * @return string
61 61
 	 */
62 62
 	public function getReceiptTypeName() {
63
-		if(true === array_key_exists($this->receiptType, self::$receiptTypesToNames)) {
63
+		if (true === array_key_exists($this->receiptType, self::$receiptTypesToNames)) {
64 64
 			return self::$receiptTypesToNames[$this->receiptType];
65 65
 		}
66 66
 		return null;
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 	 */
82 82
 	public function __toString() {
83 83
 		$cryptTool = CryptTool::getInstance();
84
-		$str = "Delivery receipt (" . $this->getReceiptTypeName() . "): ";
84
+		$str = "Delivery receipt (".$this->getReceiptTypeName()."): ";
85 85
 		$hexMessageIds = array();
86 86
 		foreach ($this->ackedMessageIds as $messageId) {
87 87
 			$hexMessageIds[] = $cryptTool->bin2hex($messageId);
Please login to merge, or discard this patch.