@@ -14,7 +14,6 @@ |
||
14 | 14 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
15 | 15 | use Symfony\Component\HttpKernel\Profiler\Profiler; |
16 | 16 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
17 | - |
|
18 | 17 | use PommProject\Foundation\Pomm; |
19 | 18 | |
20 | 19 | /** |
@@ -70,6 +70,9 @@ |
||
70 | 70 | $this->watch($name); |
71 | 71 | } |
72 | 72 | |
73 | + /** |
|
74 | + * @param string $name |
|
75 | + */ |
|
73 | 76 | private function watch($name) |
74 | 77 | { |
75 | 78 | if ($this->stopwatch !== null) { |
@@ -11,9 +11,7 @@ |
||
11 | 11 | namespace PommProject\PommBundle; |
12 | 12 | |
13 | 13 | use PommProject\Foundation\Exception\SqlException; |
14 | -use PommProject\Foundation\Listener\Listener; |
|
15 | 14 | use PommProject\Foundation\Session\Session; |
16 | - |
|
17 | 15 | use Symfony\Component\Stopwatch\Stopwatch; |
18 | 16 | use Symfony\Component\HttpFoundation\Request; |
19 | 17 | use Symfony\Component\HttpFoundation\Response; |
@@ -76,6 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Get the corresponding php type of a $sql_type type |
78 | 78 | * |
79 | + * @param string $sql_type |
|
79 | 80 | * @return string |
80 | 81 | */ |
81 | 82 | private function getPommType(Session $session, $sql_type) |
@@ -94,6 +95,7 @@ discard block |
||
94 | 95 | /** |
95 | 96 | * Create a new Type for the $pomm_type type |
96 | 97 | * |
98 | + * @param string $pomm_type |
|
97 | 99 | * @return Type |
98 | 100 | */ |
99 | 101 | private function createPropertyType($pomm_type) |