Skip to content

Commit

Permalink
Fixed most of the docblocks/unused namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dlsniper authored and fabpot committed Dec 19, 2012
1 parent 877d406 commit 32ad6cc
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Compiler/ResolveInvalidReferencesPass.php
Expand Up @@ -74,7 +74,7 @@ public function process(ContainerBuilder $container)
*
* @return array
*
* @throws \RuntimeException When the config is invalid
* @throws RuntimeException When the config is invalid
*/
private function processArguments(array $arguments, $inMethodCall = false)
{
Expand Down
2 changes: 1 addition & 1 deletion Compiler/ResolveParameterPlaceHoldersPass.php
Expand Up @@ -26,7 +26,7 @@ class ResolveParameterPlaceHoldersPass implements CompilerPassInterface
*
* @param ContainerBuilder $container
*
* @throws ParameterNotFoundException When an invalid parameter is referenced
* @throws ParameterNotFoundException
*/
public function process(ContainerBuilder $container)
{
Expand Down
6 changes: 3 additions & 3 deletions Container.php
Expand Up @@ -184,8 +184,8 @@ public function setParameter($name, $value)
* @param object $service The service instance
* @param string $scope The scope of the service
*
* @throws \RuntimeException When trying to set a service in an inactive scope
* @throws \InvalidArgumentException When trying to set a service in the prototype scope
* @throws RuntimeException When trying to set a service in an inactive scope
* @throws InvalidArgumentException When trying to set a service in the prototype scope
*
* @api
*/
Expand Down Expand Up @@ -401,7 +401,7 @@ public function leaveScope($name)
*
* @param ScopeInterface $scope
*
* @throws \InvalidArgumentException When the scope is invalid
* @throws InvalidArgumentException
*
* @api
*/
Expand Down
6 changes: 3 additions & 3 deletions ContainerBuilder.php
Expand Up @@ -86,7 +86,7 @@ public function registerExtension(ExtensionInterface $extension)
*
* @return ExtensionInterface An extension instance
*
* @throws \LogicException if the extension is not registered
* @throws LogicException if the extension is not registered
*
* @api
*/
Expand Down Expand Up @@ -556,8 +556,8 @@ public function setAliases(array $aliases)
* @param string $alias The alias to create
* @param string|Alias $id The service to alias
*
* @throws \InvalidArgumentException if the id is not a string or an Alias
* @throws \InvalidArgumentException if the alias is for itself
* @throws InvalidArgumentException if the id is not a string or an Alias
* @throws InvalidArgumentException if the alias is for itself
*
* @api
*/
Expand Down
4 changes: 2 additions & 2 deletions Definition.php
Expand Up @@ -241,7 +241,7 @@ public function addArgument($argument)
*
* @return Definition The current instance
*
* @throws \OutOfBoundsException When the replaced argument does not exist
* @throws OutOfBoundsException When the replaced argument does not exist
*
* @api
*/
Expand Down Expand Up @@ -275,7 +275,7 @@ public function getArguments()
*
* @return mixed The argument value
*
* @throws \OutOfBoundsException When the argument does not exist
* @throws OutOfBoundsException When the argument does not exist
*
* @api
*/
Expand Down
2 changes: 1 addition & 1 deletion DefinitionDecorator.php
Expand Up @@ -159,7 +159,7 @@ public function setPublic($boolean)
*
* @return mixed The argument value
*
* @throws \OutOfBoundsException When the argument does not exist
* @throws OutOfBoundsException When the argument does not exist
*
* @api
*/
Expand Down
6 changes: 5 additions & 1 deletion Dumper/PhpDumper.php
Expand Up @@ -187,7 +187,7 @@ private function addServiceInclude($id, $definition)
*
* @return string
*
* @throws \RuntimeException When the factory definition is incomplete
* @throws RuntimeException When the factory definition is incomplete
* @throws ServiceCircularReferenceException When a circular reference is detected
*/
private function addServiceInlinedDefinitions($id, $definition)
Expand Down Expand Up @@ -816,6 +816,8 @@ protected function getDefaultParameters()
* @param integer $indent
*
* @return string
*
* @throws InvalidArgumentException
*/
private function exportParameters($parameters, $path = '', $indent = 12)
{
Expand Down Expand Up @@ -987,6 +989,8 @@ private function hasReference($id, array $arguments)
* @param Boolean $interpolate
*
* @return string
*
* @throws RuntimeException
*/
private function dumpValue($value, $interpolate = true)
{
Expand Down
1 change: 1 addition & 0 deletions Extension/ConfigurationExtensionInterface.php
Expand Up @@ -12,6 +12,7 @@
namespace Symfony\Component\DependencyInjection\Extension;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

/**
* ConfigurationExtensionInterface is the interface implemented by container extension classes.
Expand Down
2 changes: 2 additions & 0 deletions Loader/XmlFileLoader.php
Expand Up @@ -275,6 +275,8 @@ private function processAnonymousServices(SimpleXMLElement $xml, $file)
*
* @param \DOMDocument $dom
*
* @return Boolean
*
* @throws RuntimeException When extension references a non-existent XSD file
*/
public function validateSchema(\DOMDocument $dom)
Expand Down

0 comments on commit 32ad6cc

Please sign in to comment.