Completed
Push — master ( 8a5718...c3ce7a )
by Milan
02:18
created
src/Request/Queue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 					throw $e;
94 94
 				} elseif ($i >= $this->limitLoop) {
95 95
 					fclose($file);
96
-					throw new Fio\QueueLimitException('You have limit up requests to server ' . $this->limitLoop);
96
+					throw new Fio\QueueLimitException('You have limit up requests to server '.$this->limitLoop);
97 97
 				}
98 98
 				self::sleep($tempFile);
99 99
 				$next = TRUE;
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 	{
121 121
 		$key = substr($token, 10, -10);
122 122
 		if (!isset(self::$tokens[$key])) {
123
-			self::$tokens[$key] = $this->tempDir . DIRECTORY_SEPARATOR . md5($key);
123
+			self::$tokens[$key] = $this->tempDir.DIRECTORY_SEPARATOR.md5($key);
124 124
 		}
125 125
 
126 126
 		return self::$tokens[$key];
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
 	private static function safeProtocol($filename)
130 130
 	{
131
-		return Utils\SafeStream::PROTOCOL . '://' . $filename;
131
+		return Utils\SafeStream::PROTOCOL.'://'.$filename;
132 132
 	}
133 133
 
134 134
 }
Please login to merge, or discard this patch.
src/Response/Read/TransactionAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 		if (array_key_exists($name, $this->properties)) {
28 28
 			return $this->properties[$name];
29 29
 		}
30
-		throw new Fio\TransactionPropertyException('Property does not exists. ' . $name);
30
+		throw new Fio\TransactionPropertyException('Property does not exists. '.$name);
31 31
 	}
32 32
 
33 33
 	public function clearTemporaryValues()
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
 	public function bindProperty($name, $type, $value)
39 39
 	{
40
-		$method = 'set' . ucfirst($name);
40
+		$method = 'set'.ucfirst($name);
41 41
 		if (method_exists($this, $method)) {
42 42
 			$value = $this->{$method}($value);
43 43
 		} elseif ($value !== NULL) {
Please login to merge, or discard this patch.
src/FioPay.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 	{
116 116
 		$this->language = strtolower($lang);
117 117
 		if (!in_array($this->language, self::$langs)) {
118
-			throw new InvalidArgumentException($this->language . ' avaible are ' . implode(', ', self::$langs));
118
+			throw new InvalidArgumentException($this->language.' avaible are '.implode(', ', self::$langs));
119 119
 		}
120 120
 		return $this;
121 121
 	}
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 	/** @return string */
124 124
 	private function getUrl()
125 125
 	{
126
-		return self::REST_URL . 'import/';
126
+		return self::REST_URL.'import/';
127 127
 	}
128 128
 
129 129
 	/**
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 		$extension = strtolower($extension);
138 138
 		static $extensions = ['xml', 'abo'];
139 139
 		if (!in_array($extension, $extensions)) {
140
-			throw new InvalidArgumentException('Unsupported file upload format: ' . $extension . ' avaible are ' . implode(', ', $extensions));
140
+			throw new InvalidArgumentException('Unsupported file upload format: '.$extension.' avaible are '.implode(', ', $extensions));
141 141
 		}
142 142
 		$this->uploadExtension = $extension;
143 143
 		return $this;
Please login to merge, or discard this patch.