@@ -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 | } |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | $error = $this->pdo->errorInfo(); |
60 | 60 | if ($error[0] !== '00000') { |
61 | - throw new PDOException($error[2], (int)$error[0]); |
|
61 | + throw new PDOException($error[2], (int) $error[0]); |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | return $statement; |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | { |
72 | 72 | foreach ($conditions as $key => $value) { |
73 | 73 | unset($conditions[$key]); |
74 | - $conditions[':' . $key] = $value; |
|
74 | + $conditions[':'.$key] = $value; |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | $statement = $this->buildStatement(); |