Skip to content

Commit c24dcad

Browse files
committed
coding style: fixed spaces & use statements order
1 parent 5bedf1d commit c24dcad

33 files changed

+22
-37
lines changed

src/Bridges/HttpDI/HttpExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,4 @@ public function afterCompile(Nette\PhpGenerator\ClassType $class)
108108
}
109109
}
110110
}
111-
112111
}

src/Bridges/HttpDI/SessionExtension.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,4 @@ public function afterCompile(Nette\PhpGenerator\ClassType $class)
8585
$initialize->addBody('$this->getService(?)->start();', [$name]);
8686
}
8787
}
88-
8988
}

src/Bridges/HttpTracy/SessionPanel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ public function getPanel()
4040
require __DIR__ . '/templates/SessionPanel.panel.phtml';
4141
return ob_get_clean();
4242
}
43-
4443
}

src/Bridges/HttpTracy/templates/SessionPanel.panel.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ use Tracy\Dumper;
3131
<?php
3232
foreach ($_SESSION as $k => $v) {
3333
if ($k === '__NF') {
34-
$k = 'Nette Session'; $v = isset($v['DATA']) ? $v['DATA'] : NULL;
34+
$k = 'Nette Session';
35+
$v = isset($v['DATA']) ? $v['DATA'] : NULL;
3536
} elseif ($k === '_tracy') {
3637
continue;
3738
}

src/Http/Context.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,4 @@ public function getResponse()
9797
{
9898
return $this->response;
9999
}
100-
101100
}

src/Http/FileUpload.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,4 @@ public function getContents()
215215
// future implementation can try to work around safe_mode and open_basedir limitations
216216
return $this->isOk() ? file_get_contents($this->tmpName) : NULL;
217217
}
218-
219218
}

src/Http/Helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,4 @@ public static function removeDuplicateCookies()
7171
header($header, $key === 0);
7272
}
7373
}
74-
7574
}

src/Http/IRequest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,4 @@ function getRemoteHost();
135135
* @return string|NULL
136136
*/
137137
function getRawBody();
138-
139138
}

src/Http/IResponse.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,5 +176,4 @@ function setCookie($name, $value, $expire, $path = NULL, $domain = NULL, $secure
176176
* @return void
177177
*/
178178
function deleteCookie($name, $path = NULL, $domain = NULL, $secure = NULL);
179-
180179
}

src/Http/ISessionStorage.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616
interface ISessionStorage
1717
{
18-
1918
function open($savePath, $sessionName);
2019

2120
function close();
@@ -27,5 +26,4 @@ function write($id, $data);
2726
function remove($id);
2827

2928
function clean($maxlifetime);
30-
3129
}

0 commit comments

Comments
 (0)