@@ -137,7 +137,7 @@ |
||
137 | 137 | |
138 | 138 | $uri->expects($this->any()) |
139 | 139 | ->method('__toString') |
140 | - ->willReturn('http://localhost' . $path); |
|
140 | + ->willReturn('http://localhost'.$path); |
|
141 | 141 | |
142 | 142 | $request->expects($this->any()) |
143 | 143 | ->method('getUri') |
@@ -80,7 +80,7 @@ |
||
80 | 80 | $result = $storage->read($this->request); |
81 | 81 | $this->assertEquals($data, $result); |
82 | 82 | |
83 | - $storage->clear($this->request, $this->response); |
|
83 | + $storage->clear($this->request, $this->response); |
|
84 | 84 | $result = $storage->read($this->request); |
85 | 85 | $this->assertNull($result); |
86 | 86 | } |
@@ -77,7 +77,7 @@ |
||
77 | 77 | */ |
78 | 78 | public function write(ServerRequestInterface $request, ResponseInterface $response, $data): ResponseInterface |
79 | 79 | { |
80 | - $_SESSION[$this->key] = (array)$data; |
|
80 | + $_SESSION[$this->key] = (array) $data; |
|
81 | 81 | |
82 | 82 | return $response; |
83 | 83 | } |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | $error = $this->pdo->errorInfo(); |
61 | 61 | if ($error[0] !== '00000') { |
62 | - throw new PDOException($error[2], (int)$error[0]); |
|
62 | + throw new PDOException($error[2], (int) $error[0]); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | if ($statement === false) { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | { |
80 | 80 | foreach ($conditions as $key => $value) { |
81 | 81 | unset($conditions[$key]); |
82 | - $conditions[':' . $key] = $value; |
|
82 | + $conditions[':'.$key] = $value; |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | $statement = $this->buildStatement(); |