@@ -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) { |
@@ -59,6 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * Get the sql type of $property |
61 | 61 | * |
62 | + * @param string $property |
|
62 | 63 | * @return string |
63 | 64 | */ |
64 | 65 | private function getSqlType(Session $session, $model_name, $property) |
@@ -72,6 +73,7 @@ discard block |
||
72 | 73 | /** |
73 | 74 | * Get the corresponding php type of a $sql_type type |
74 | 75 | * |
76 | + * @param string $sql_type |
|
75 | 77 | * @return string |
76 | 78 | */ |
77 | 79 | private function getPommType(Session $session, $sql_type) |
@@ -90,6 +92,7 @@ discard block |
||
90 | 92 | /** |
91 | 93 | * Create a new Type for the $pomm_type type |
92 | 94 | * |
95 | + * @param string $pomm_type |
|
93 | 96 | * @return Type |
94 | 97 | */ |
95 | 98 | private function createPropertyType($pomm_type) |
@@ -72,6 +72,11 @@ |
||
72 | 72 | return $this->explain($request, $token, $index_query, 'json'); |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param string $token |
|
77 | + * @param integer $index_query |
|
78 | + * @param string $format |
|
79 | + */ |
|
75 | 80 | public function explain(Request $request, $token, $index_query, $format) |
76 | 81 | { |
77 | 82 | $panel = 'pomm'; |