@@ -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 | /** |
@@ -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. |
@@ -2,11 +2,6 @@ |
||
2 | 2 | |
3 | 3 | use Symfony\Component\DependencyInjection\ContainerInterface; |
4 | 4 | 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 | 5 | |
11 | 6 | /** |
12 | 7 | * ProjectServiceContainer. |
@@ -1,11 +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 | 4 | use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; |
10 | 5 | |
11 | 6 | /** |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | use Symfony\Component\DependencyInjection\ContainerInterface; |
4 | 4 | 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 | 5 | use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
9 | 6 | use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; |
10 | 7 |
@@ -1,8 +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 | 4 | use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
7 | 5 | use Symfony\Component\DependencyInjection\Exception\LogicException; |
8 | 6 | use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * |
197 | 197 | * @param string $scalar |
198 | 198 | * @param string $delimiters |
199 | - * @param array $stringDelimiters |
|
199 | + * @param string[] $stringDelimiters |
|
200 | 200 | * @param int &$i |
201 | 201 | * @param bool $evaluate |
202 | 202 | * @param array $references |
@@ -247,6 +247,7 @@ discard block |
||
247 | 247 | * |
248 | 248 | * @param string $scalar |
249 | 249 | * @param int &$i |
250 | + * @param integer $i |
|
250 | 251 | * |
251 | 252 | * @return string A YAML string |
252 | 253 | * |
@@ -437,7 +437,7 @@ |
||
437 | 437 | * @param bool $objectSupport True if object support is enabled, false otherwise |
438 | 438 | * @param bool $objectForMap true if maps should return a stdClass instead of array() |
439 | 439 | * |
440 | - * @return mixed A PHP value |
|
440 | + * @return string A PHP value |
|
441 | 441 | * |
442 | 442 | * @throws ParseException When reference does not exist |
443 | 443 | */ |
@@ -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 |