| @@ -37,7 +37,7 @@ | ||
| 37 | 37 | /** | 
| 38 | 38 | * Load config file | 
| 39 | 39 | * | 
| 40 | - * @param $filename | |
| 40 | + * @param string $filename | |
| 41 | 41 | * @return Configuration | 
| 42 | 42 | * @throws \RuntimeException | 
| 43 | 43 | */ | 
| @@ -83,7 +83,7 @@ | ||
| 83 | 83 | /** | 
| 84 | 84 | * Clean php source | 
| 85 | 85 | * | 
| 86 | - * @param $content | |
| 86 | + * @param string $content | |
| 87 | 87 | * @return string | 
| 88 | 88 | */ | 
| 89 | 89 |      private function cleanup($content) { | 
| @@ -122,7 +122,7 @@ discard block | ||
| 122 | 122 | * Extracts visibility | 
| 123 | 123 | * | 
| 124 | 124 | * @param ReflectedMethod $method | 
| 125 | - * @param $n | |
| 125 | + * @param integer $n | |
| 126 | 126 | * @param TokenCollection $tokens | 
| 127 | 127 | * @return $this | 
| 128 | 128 | */ | 
| @@ -147,7 +147,7 @@ discard block | ||
| 147 | 147 | * Extracts state | 
| 148 | 148 | * | 
| 149 | 149 | * @param ReflectedMethod $method | 
| 150 | - * @param $n | |
| 150 | + * @param integer $n | |
| 151 | 151 | * @param TokenCollection $tokens | 
| 152 | 152 | * @return $this | 
| 153 | 153 | */ | 
| @@ -219,6 +219,7 @@ discard block | ||
| 219 | 219 | * Extract the list of returned values | 
| 220 | 220 | * | 
| 221 | 221 | * @param ReflectedMethod $method | 
| 222 | + * @param integer $n | |
| 222 | 223 | * @return $this | 
| 223 | 224 | */ | 
| 224 | 225 |      private function extractReturns(ReflectedMethod $method, $n, TokenCollection $tokens) { | 
| @@ -10,7 +10,6 @@ | ||
| 10 | 10 | namespace Hal\Component\OOP\Extractor; | 
| 11 | 11 | use Hal\Component\OOP\Reflected\MethodUsage; | 
| 12 | 12 | use Hal\Component\OOP\Reflected\ReflectedArgument; | 
| 13 | -use Hal\Component\OOP\Reflected\ReflectedClass\ReflectedAnonymousClass; | |
| 14 | 13 | use Hal\Component\OOP\Reflected\ReflectedMethod; | 
| 15 | 14 | use Hal\Component\OOP\Reflected\ReflectedReturn; | 
| 16 | 15 | use Hal\Component\OOP\Resolver\TypeResolver; | 
| @@ -163,7 +163,7 @@ discard block | ||
| 163 | 163 | } | 
| 164 | 164 | |
| 165 | 165 | /** | 
| 166 | - * @return array | |
| 166 | + * @return \Hal\Component\Token\TokenCollection | |
| 167 | 167 | */ | 
| 168 | 168 | public function getTokens() | 
| 169 | 169 |      { | 
| @@ -365,7 +365,7 @@ discard block | ||
| 365 | 365 | } | 
| 366 | 366 | |
| 367 | 367 | /** | 
| 368 | - * @param $class | |
| 368 | + * @param string|null $class | |
| 369 | 369 | * @return $this | 
| 370 | 370 | */ | 
| 371 | 371 |      public function pushInstanciedClass($class) { | 
| @@ -386,7 +386,7 @@ discard block | ||
| 386 | 386 | } | 
| 387 | 387 | |
| 388 | 388 | /** | 
| 389 | - * @param $call | |
| 389 | + * @param string $call | |
| 390 | 390 | * @return $this | 
| 391 | 391 | */ | 
| 392 | 392 | public function pushInternalCall($call) | 
| @@ -404,7 +404,7 @@ discard block | ||
| 404 | 404 | } | 
| 405 | 405 | |
| 406 | 406 | /** | 
| 407 | - * @param $call | |
| 407 | + * @param string $call | |
| 408 | 408 | * @return $this | 
| 409 | 409 | */ | 
| 410 | 410 | public function pushExternalCall($call) |