@@ -24,8 +24,8 @@ |
||
24 | 24 | |
25 | 25 | namespace Koch\View; |
26 | 26 | |
27 | -use Koch\Router\TargetRoute; |
|
28 | 27 | use Koch\Http\HttpRequest; |
28 | +use Koch\Router\TargetRoute; |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Koch Framework - The View Mapper maps the "action" to the "template". |
@@ -322,7 +322,7 @@ |
||
322 | 322 | * @param mixed $compile_id compile id to be used with this template |
323 | 323 | * @param object $parent next higher level of Smarty variables |
324 | 324 | * @param boolean $display Renders the template content on true. |
325 | - * @return null|string the $template content. |
|
325 | + * @return string the $template content. |
|
326 | 326 | */ |
327 | 327 | public function fetch($template, $cache_id = null, $compile_id = null, $parent = null, $display = false) |
328 | 328 | { |
@@ -24,8 +24,8 @@ |
||
24 | 24 | |
25 | 25 | namespace Koch\View\Renderer; |
26 | 26 | |
27 | -use Koch\View\AbstractRenderer; |
|
28 | 27 | use Koch\Router\TargetRoute; |
28 | +use Koch\View\AbstractRenderer; |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Koch Framework - View Renderer for Smarty Templates. |
@@ -9,8 +9,8 @@ |
||
9 | 9 | */ |
10 | 10 | namespace KochTest\Fixtures\Application\Modules\News\Controller; |
11 | 11 | |
12 | -use Koch\Module\ModuleInterface; |
|
13 | 12 | use Koch\Module\AbstractController; |
13 | +use Koch\Module\ModuleInterface; |
|
14 | 14 | |
15 | 15 | class NewsController extends AbstractController implements ModuleInterface |
16 | 16 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace KochTest\Form; |
4 | 4 | |
5 | -use Koch\Form\Form; |
|
6 | 5 | use Koch\Form\Elements; |
6 | +use Koch\Form\Form; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * @todo method chaining tests on all setter methods |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace KochTest\Router; |
4 | 4 | |
5 | +use Koch\Config\Config; |
|
6 | +use Koch\Http\HttpRequest; |
|
7 | +use Koch\Mvc\Mapper; |
|
5 | 8 | use Koch\Router\Router; |
6 | 9 | use Koch\Router\TargetRoute; |
7 | -use Koch\Mvc\Mapper; |
|
8 | -use Koch\Http\HttpRequest; |
|
9 | -use Koch\Config\Config; |
|
10 | 10 | |
11 | 11 | class RouterTest extends \PHPUnit_Framework_TestCase |
12 | 12 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace KochTest\View\Helper; |
4 | 4 | |
5 | -use Koch\View\Helper\Breadcrumb; |
|
6 | 5 | use Koch\Router\TargetRoute; |
6 | +use Koch\View\Helper\Breadcrumb; |
|
7 | 7 | |
8 | 8 | class BreadcrumbTest extends \PHPUnit_Framework_TestCase |
9 | 9 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace KochTest\View\Renderer; |
4 | 4 | |
5 | -use Koch\View\Renderer\Php; |
|
6 | 5 | use Koch\View\Mapper; |
6 | +use Koch\View\Renderer\Php; |
|
7 | 7 | use org\bovigo\vfs\vfsStream; |
8 | 8 | use org\bovigo\vfs\vfsStreamDirectory; |
9 | 9 | use org\bovigo\vfs\vfsStreamWrapper; |
@@ -24,10 +24,10 @@ |
||
24 | 24 | |
25 | 25 | namespace Koch\Filter\Filters; |
26 | 26 | |
27 | +use Koch\Config\Config; |
|
27 | 28 | use Koch\Filter\FilterInterface; |
28 | 29 | use Koch\Http\HttpRequestInterface; |
29 | 30 | use Koch\Http\HttpResponseInterface; |
30 | -use Koch\Config\Config; |
|
31 | 31 | use Koch\Validation\InputFilter; |
32 | 32 | |
33 | 33 | /** |
@@ -25,8 +25,8 @@ |
||
25 | 25 | |
26 | 26 | namespace Koch\Pagination\Adapter; |
27 | 27 | |
28 | -use Koch\Pagination\AdapterInterface; |
|
29 | 28 | use Doctrine\Common\Collections\Collection; |
29 | +use Koch\Pagination\AdapterInterface; |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Koch Framework - Pagination Adapter working with Doctrine Collections. |