@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | * available to code that needs localization. See st() and get_t() for |
| 181 | 181 | * alternatives. |
| 182 | 182 | * |
| 183 | - * @param $string |
|
| 183 | + * @param string $string |
|
| 184 | 184 | * A string containing the English string to translate. |
| 185 | 185 | * @param $args |
| 186 | 186 | * An associative array of replacements to make after translation. Based |
@@ -280,9 +280,9 @@ discard block |
||
| 280 | 280 | * All arguments are passed by value. Use drupal_alter() if you need to pass |
| 281 | 281 | * arguments by reference. |
| 282 | 282 | * |
| 283 | - * @param $module |
|
| 283 | + * @param string $module |
|
| 284 | 284 | * The name of the module (without the .module extension). |
| 285 | - * @param $hook |
|
| 285 | + * @param string $hook |
|
| 286 | 286 | * The name of the hook to invoke. |
| 287 | 287 | * @param ... |
| 288 | 288 | * Arguments to pass to the hook implementation. |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | * All arguments are passed by value. Use drupal_alter() if you need to pass |
| 307 | 307 | * arguments by reference. |
| 308 | 308 | * |
| 309 | - * @param $hook |
|
| 309 | + * @param string $hook |
|
| 310 | 310 | * The name of the hook to invoke. |
| 311 | 311 | * @param ... |
| 312 | 312 | * Arguments to pass to the hook. |
@@ -390,9 +390,9 @@ discard block |
||
| 390 | 390 | * |
| 391 | 391 | * This prevents including a theme, engine, module, etc., more than once. |
| 392 | 392 | * |
| 393 | - * @param $type |
|
| 393 | + * @param string $type |
|
| 394 | 394 | * The type of item to load (i.e. theme, theme_engine, module). |
| 395 | - * @param $name |
|
| 395 | + * @param string $name |
|
| 396 | 396 | * The name of the item to load. |
| 397 | 397 | * |
| 398 | 398 | * @return bool |
@@ -238,8 +238,6 @@ |
||
| 238 | 238 | * |
| 239 | 239 | * @param array $container_definition |
| 240 | 240 | * The container definition to process. |
| 241 | - * @param array $definition |
|
| 242 | - * The parameter definition. |
|
| 243 | 241 | */ |
| 244 | 242 | public function registerAnnotatedPluginTypes(&$container_definition, $parameter_definitions) { |
| 245 | 243 | foreach($parameter_definitions as $definition) { |
@@ -1,12 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 4 | 3 | use Symfony\Component\DependencyInjection\Container; |
| 5 | -use Symfony\Component\DependencyInjection\Exception\InactiveScopeException; |
|
| 6 | -use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
|
| 7 | -use Symfony\Component\DependencyInjection\Exception\LogicException; |
|
| 8 | -use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
|
| 9 | -use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; |
|
| 10 | 4 | |
| 11 | 5 | /** |
| 12 | 6 | * ProjectServiceContainer. |
@@ -1,12 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 4 | 3 | use Symfony\Component\DependencyInjection\Container; |
| 5 | -use Symfony\Component\DependencyInjection\Exception\InactiveScopeException; |
|
| 6 | -use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
|
| 7 | -use Symfony\Component\DependencyInjection\Exception\LogicException; |
|
| 8 | -use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
|
| 9 | -use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; |
|
| 10 | 4 | |
| 11 | 5 | /** |
| 12 | 6 | * ProjectServiceContainer. |
@@ -1,11 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 4 | 3 | use Symfony\Component\DependencyInjection\Container; |
| 5 | -use Symfony\Component\DependencyInjection\Exception\InactiveScopeException; |
|
| 6 | 4 | use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
| 7 | 5 | use Symfony\Component\DependencyInjection\Exception\LogicException; |
| 8 | -use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
|
| 9 | 6 | use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag; |
| 10 | 7 | |
| 11 | 8 | /** |