Skip to content

Commit 019139c

Browse files
author
Hugo Hamon
committed
Fixes various phpdoc and coding standards.
1 parent 390581a commit 019139c

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

Command/InitAclCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
5959
try {
6060
$schema->addToSchema($connection->getSchemaManager()->createSchema());
6161
} catch (SchemaException $e) {
62-
$output->writeln("Aborting: ".$e->getMessage());
62+
$output->writeln('Aborting: '.$e->getMessage());
6363

6464
return 1;
6565
}

DependencyInjection/MainConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(array $factories, array $userProviderFactories)
4949
/**
5050
* Generates the configuration tree builder.
5151
*
52-
* @return \Symfony\Component\Config\Definition\Builder\TreeBuilder The tree builder
52+
* @return TreeBuilder The tree builder
5353
*/
5454
public function getConfigTreeBuilder()
5555
{

DependencyInjection/SecurityExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ private function createUserProviders($config, ContainerBuilder $container)
490490
}
491491

492492
// Parses a <provider> tag and returns the id for the related user provider service
493-
private function createUserDaoProvider($name, $provider, ContainerBuilder $container, $master = true)
493+
private function createUserDaoProvider($name, $provider, ContainerBuilder $container)
494494
{
495495
$name = $this->getUserProviderId(strtolower($name));
496496

Tests/Functional/Bundle/CsrfFormLoginBundle/Form/UserLoginFormType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(Request $request)
4040
}
4141

4242
/**
43-
* @see Symfony\Component\Form\AbstractType::buildForm()
43+
* {@inheritdoc}
4444
*/
4545
public function buildForm(FormBuilderInterface $builder, array $options)
4646
{
@@ -75,7 +75,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
7575
}
7676

7777
/**
78-
* @see Symfony\Component\Form\AbstractType::setDefaultOptions()
78+
* {@inheritdoc}
7979
*/
8080
public function setDefaultOptions(OptionsResolverInterface $resolver)
8181
{
@@ -89,7 +89,7 @@ public function setDefaultOptions(OptionsResolverInterface $resolver)
8989
}
9090

9191
/**
92-
* @see Symfony\Component\Form\FormTypeInterface::getName()
92+
* {@inheritdoc}
9393
*/
9494
public function getName()
9595
{

Twig/Extension/LogoutUrlExtension.php

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,13 @@ class LogoutUrlExtension extends \Twig_Extension
2222
{
2323
private $helper;
2424

25-
/**
26-
* Constructor.
27-
*
28-
* @param LogoutUrlHelper $helper
29-
*/
3025
public function __construct(LogoutUrlHelper $helper)
3126
{
3227
$this->helper = $helper;
3328
}
3429

3530
/**
36-
* @see Twig_Extension::getFunctions()
31+
* {@inheritdoc}
3732
*/
3833
public function getFunctions()
3934
{
@@ -44,7 +39,7 @@ public function getFunctions()
4439
}
4540

4641
/**
47-
* Generate the relative logout URL for the firewall.
42+
* Generates the relative logout URL for the firewall.
4843
*
4944
* @param string $key The firewall key
5045
*
@@ -56,7 +51,7 @@ public function getLogoutPath($key)
5651
}
5752

5853
/**
59-
* Generate the absolute logout URL for the firewall.
54+
* Generates the absolute logout URL for the firewall.
6055
*
6156
* @param string $key The firewall key
6257
*
@@ -68,7 +63,7 @@ public function getLogoutUrl($key)
6863
}
6964

7065
/**
71-
* @see Twig_ExtensionInterface::getName()
66+
* {@inheritdoc}
7267
*/
7368
public function getName()
7469
{

0 commit comments

Comments
 (0)