@@ -13,6 +13,7 @@ discard block |
||
13 | 13 | * RadBundle. |
14 | 14 | * |
15 | 15 | * @param NodeParentInterface $rootNode |
16 | + * @return void |
|
16 | 17 | */ |
17 | 18 | public function buildConfiguration(NodeParentInterface $rootNode); |
18 | 19 | |
@@ -21,6 +22,7 @@ discard block |
||
21 | 22 | * |
22 | 23 | * @param array $config, The parsed config |
23 | 24 | * @param ContainerBuilder $container |
25 | + * @return void |
|
24 | 26 | */ |
25 | 27 | public function buildContainer(array $config, ContainerBuilder $container); |
26 | 28 | } |
@@ -71,6 +71,9 @@ |
||
71 | 71 | return $this->doctrine->getManager(); |
72 | 72 | } |
73 | 73 | |
74 | + /** |
|
75 | + * @param string $object |
|
76 | + */ |
|
74 | 77 | public function getRepository($object) |
75 | 78 | { |
76 | 79 | return $this->getManager()->getRepository(is_object($object) ? get_class($object) : $object); |
@@ -63,6 +63,9 @@ |
||
63 | 63 | $container->getDefinition('form.extension')->replaceArgument(2, $typeExtensions); |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param string $default |
|
68 | + */ |
|
66 | 69 | private function getAlias($class, $default) |
67 | 70 | { |
68 | 71 | if (!class_exists($class)) { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * Initializes listener. |
25 | 25 | * |
26 | 26 | * @param EngineInterface $templating Templating engine |
27 | - * @param ViewNameDeducer $viewNameDeducer Deduces the view name from controller name |
|
27 | + * @param NameDeducer $viewNameDeducer Deduces the view name from controller name |
|
28 | 28 | * @param MissingViewHandler $missingViewHandler handles missing views |
29 | 29 | */ |
30 | 30 | public function __construct(EngineInterface $templating, NameDeducer $viewNameDeducer, MissingViewHandler $missingViewHandler = null) |
@@ -15,7 +15,6 @@ discard block |
||
15 | 15 | /** |
16 | 16 | * Initializes context. Every scenario gets its own context object. |
17 | 17 | * |
18 | - * @param array $parameters Suite parameters (set them up through behat.yml) |
|
19 | 18 | */ |
20 | 19 | public function __construct() |
21 | 20 | { |
@@ -158,6 +157,9 @@ discard block |
||
158 | 157 | } |
159 | 158 | } |
160 | 159 | |
160 | + /** |
|
161 | + * @param string $path |
|
162 | + */ |
|
161 | 163 | private function writeContent($path, $content = '') |
162 | 164 | { |
163 | 165 | $this->fs->mkdir(dirname($path)); |
@@ -32,6 +32,9 @@ discard block |
||
32 | 32 | } |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $purpose |
|
37 | + */ |
|
35 | 38 | private function getFormType($object, $purpose = null) |
36 | 39 | { |
37 | 40 | $currentPurpose = $purpose ? $purpose.'_' : ''; |
@@ -56,6 +59,10 @@ discard block |
||
56 | 59 | return $type; |
57 | 60 | } |
58 | 61 | |
62 | + /** |
|
63 | + * @param string $alias |
|
64 | + * @param string $class |
|
65 | + */ |
|
59 | 66 | private function loadFormType($alias, $class) |
60 | 67 | { |
61 | 68 | $type = $this->getAlias($class, $alias); |
@@ -67,6 +74,9 @@ discard block |
||
67 | 74 | return $type; |
68 | 75 | } |
69 | 76 | |
77 | + /** |
|
78 | + * @return string |
|
79 | + */ |
|
70 | 80 | private function getAlias($class, $default) |
71 | 81 | { |
72 | 82 | if (!class_exists($class)) { |
@@ -441,6 +441,9 @@ |
||
441 | 441 | ); |
442 | 442 | } |
443 | 443 | |
444 | + /** |
|
445 | + * @return string |
|
446 | + */ |
|
444 | 447 | private function getPatternPrefix($class, $mapping) |
445 | 448 | { |
446 | 449 | if (is_string($mapping)) { |
@@ -9,9 +9,7 @@ |
||
9 | 9 | { |
10 | 10 | /** |
11 | 11 | * @param Knp\RadBundle\AppBundle\ConfigurableBundleInterface $bundle |
12 | - * @param Knp\RadBundle\AppBundle\ConfigurationFactory $configFactory |
|
13 | 12 | * @param Knp\RadBundle\AppBundle\Configuration $config |
14 | - * @param Symfony\Component\Config\Definition\Processor $configProcessor |
|
15 | 13 | * @param Symfony\Component\DependencyInjection\ContainerBuilder $container |
16 | 14 | */ |
17 | 15 | function let($bundle, $configFactory, $configProcessor, $container) |
@@ -10,8 +10,6 @@ |
||
10 | 10 | /** |
11 | 11 | * param Knp\RadBundle\AppBundle\Bundle $bundle |
12 | 12 | * @param Symfony\Component\HttpKernel\Bundle\BundleInterface $bundle |
13 | - * @param Symfony\Component\DependencyInjection\ContainerBuilder $container |
|
14 | - * @param Symfony\Component\HttpKernel\Kernel $kernel |
|
15 | 13 | */ |
16 | 14 | function let($bundle) |
17 | 15 | { |