@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | throw $e; |
86 | 86 | } elseif ($i >= $this->limitLoop) { |
87 | 87 | fclose($file); |
88 | - throw new Fio\QueueLimitException('You have limit up requests to server ' . $this->limitLoop); |
|
88 | + throw new Fio\QueueLimitException('You have limit up requests to server '.$this->limitLoop); |
|
89 | 89 | } |
90 | 90 | self::sleep($tempFile); |
91 | 91 | $next = TRUE; |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | { |
113 | 113 | $key = substr($token, 10, -10); |
114 | 114 | if (!isset(self::$tokens[$key])) { |
115 | - self::$tokens[$key] = sys_get_temp_dir() . DIRECTORY_SEPARATOR . md5($key); |
|
115 | + self::$tokens[$key] = sys_get_temp_dir().DIRECTORY_SEPARATOR.md5($key); |
|
116 | 116 | } |
117 | 117 | |
118 | 118 | return self::$tokens[$key]; |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | |
121 | 121 | private static function safeProtocol($filename) |
122 | 122 | { |
123 | - return Utils\SafeStream::PROTOCOL . '://' . $filename; |
|
123 | + return Utils\SafeStream::PROTOCOL.'://'.$filename; |
|
124 | 124 | } |
125 | 125 | |
126 | 126 | } |
@@ -59,7 +59,7 @@ |
||
59 | 59 | */ |
60 | 60 | private function getValue($path) |
61 | 61 | { |
62 | - $val = $this->xml->xpath($path . '/text()'); |
|
62 | + $val = $this->xml->xpath($path.'/text()'); |
|
63 | 63 | return (string) $val[0]; |
64 | 64 | } |
65 | 65 |
@@ -27,7 +27,7 @@ discard block |
||
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 |
||
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) { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | } |
94 | 94 | return intval($value); |
95 | 95 | case 'string|null': |
96 | - return trim($value) ? : NULL; |
|
96 | + return trim($value) ?: NULL; |
|
97 | 97 | } |
98 | 98 | return $value; |
99 | 99 | } |