Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed most of the docblocks/unused namespaces

  • Loading branch information...
commit 32ad6cccb2c38d7ac87217fae459083438f05634 1 parent 877d406
@dlsniper dlsniper authored fabpot committed
View
2  Compiler/ResolveInvalidReferencesPass.php
@@ -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)
{
View
2  Compiler/ResolveParameterPlaceHoldersPass.php
@@ -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)
{
View
6 Container.php
@@ -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
*/
@@ -401,7 +401,7 @@ public function leaveScope($name)
*
* @param ScopeInterface $scope
*
- * @throws \InvalidArgumentException When the scope is invalid
+ * @throws InvalidArgumentException
*
* @api
*/
View
6 ContainerBuilder.php
@@ -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
*/
@@ -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
*/
View
4 Definition.php
@@ -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
*/
@@ -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
*/
View
2  DefinitionDecorator.php
@@ -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
*/
View
6 Dumper/PhpDumper.php
@@ -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)
@@ -816,6 +816,8 @@ protected function getDefaultParameters()
* @param integer $indent
*
* @return string
+ *
+ * @throws InvalidArgumentException
*/
private function exportParameters($parameters, $path = '', $indent = 12)
{
@@ -987,6 +989,8 @@ private function hasReference($id, array $arguments)
* @param Boolean $interpolate
*
* @return string
+ *
+ * @throws RuntimeException
*/
private function dumpValue($value, $interpolate = true)
{
View
1  Extension/ConfigurationExtensionInterface.php
@@ -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.
View
2  Loader/XmlFileLoader.php
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.