Skip to content

Commit cd9c2a0

Browse files
committed
coding style: fixed spaces & use statements order
1 parent 28d0da3 commit cd9c2a0

File tree

141 files changed

+155
-208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+155
-208
lines changed

src/Application/Application.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,5 +204,4 @@ public function getPresenterFactory(): IPresenterFactory
204204
{
205205
return $this->presenterFactory;
206206
}
207-
208207
}

src/Application/ErrorPresenter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,4 @@ public function run(Application\Request $request): Application\IResponse
4646
require __DIR__ . '/templates/error.phtml';
4747
});
4848
}
49-
5049
}

src/Application/Helpers.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ public static function splitName(string $name): array
2929
? ['', $name, '']
3030
: [substr($name, 0, $pos), substr($name, $pos + 1), ':'];
3131
}
32-
3332
}

src/Application/IPresenter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,5 @@
1515
*/
1616
interface IPresenter
1717
{
18-
1918
function run(Request $request): IResponse;
20-
2119
}

src/Application/IPresenterFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ function getPresenterClass(string &$name): string;
2929
* @param string presenter name
3030
*/
3131
function createPresenter(string $name): IPresenter;
32-
3332
}

src/Application/IResponse.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ interface IResponse
2222
* Sends response to output.
2323
*/
2424
function send(Nette\Http\IRequest $httpRequest, Nette\Http\IResponse $httpResponse): void;
25-
2625
}

src/Application/IRouter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ function match(Nette\Http\IRequest $httpRequest): ?Request;
2929
* Constructs absolute URL from Request object.
3030
*/
3131
function constructUrl(Request $appRequest, Nette\Http\Url $refUrl): ?string;
32-
3332
}

src/Application/LinkGenerator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,4 @@ public function link(string $dest, array $params = []): string
8585
}
8686
return $url . $frag;
8787
}
88-
8988
}

src/Application/MicroPresenter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99

1010
namespace NetteModule;
1111

12+
use Latte;
1213
use Nette;
1314
use Nette\Application;
1415
use Nette\Application\Responses;
1516
use Nette\Http;
16-
use Latte;
1717

1818

1919
/**
@@ -150,5 +150,4 @@ public function getRequest(): ?Nette\Application\Request
150150
{
151151
return $this->request;
152152
}
153-
154153
}

src/Application/PresenterFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,4 @@ public function unformatPresenterClass(string $class): ?string
147147
}
148148
return NULL;
149149
}
150-
151150
}

0 commit comments

Comments
 (0)