@@ -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) { |
@@ -63,6 +63,7 @@ discard block |
||
| 63 | 63 | /** |
| 64 | 64 | * Get the sql type of $property |
| 65 | 65 | * |
| 66 | + * @param string $property |
|
| 66 | 67 | * @return string |
| 67 | 68 | */ |
| 68 | 69 | private function getSqlType(Session $session, $model_name, $property) |
@@ -76,6 +77,7 @@ discard block |
||
| 76 | 77 | /** |
| 77 | 78 | * Get the corresponding php type of a $sql_type type |
| 78 | 79 | * |
| 80 | + * @param string $sql_type |
|
| 79 | 81 | * @return string |
| 80 | 82 | */ |
| 81 | 83 | private function getPommType(Session $session, $sql_type) |
@@ -94,6 +96,7 @@ discard block |
||
| 94 | 96 | /** |
| 95 | 97 | * Create a new Type for the $pomm_type type |
| 96 | 98 | * |
| 99 | + * @param string $pomm_type |
|
| 97 | 100 | * @return Type |
| 98 | 101 | */ |
| 99 | 102 | private function createPropertyType($pomm_type) |
@@ -10,6 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace PommProject\PommBundle\PropertyInfo\Extractor; |
| 12 | 12 | |
| 13 | -@trigger_error('The '.__NAMESPACE__.'\PommExtractor class is deprecated since version 2.3 and will be removed in 3.0. Use the '.__NAMESPACE__.'\TypeExtractor class instead.', E_USER_DEPRECATED); |
|
| 13 | +@trigger_error('The ' . __NAMESPACE__ . '\PommExtractor class is deprecated since version 2.3 and will be removed in 3.0. Use the ' . __NAMESPACE__ . '\TypeExtractor class instead.', E_USER_DEPRECATED); |
|
| 14 | 14 | |
| 15 | 15 | class_alias(__NAMESPACE__ . '\TypeExtractor', __NAMESPACE__ . '\PommExtractor'); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | $callable = [$this->datacollector, 'execute']; |
| 41 | 41 | |
| 42 | 42 | foreach ($pomm->getSessionBuilders() as $name => $builder) { |
| 43 | - $pomm->addPostConfiguration($name, function ($session) use ($callable) { |
|
| 43 | + $pomm->addPostConfiguration($name, function($session) use ($callable) { |
|
| 44 | 44 | $session |
| 45 | 45 | ->getClientUsingPooler('listener', 'query') |
| 46 | 46 | ->attachAction($callable) |