Permalink
Browse files

unify and fix callable phpdoc throughout symfony

  • Loading branch information...
1 parent e2ce316 commit a413342cf90773a309b12fd4c8137d4bdc35eb4e @Tobion Tobion committed Nov 20, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 Shell/Command.php
View
@@ -39,7 +39,7 @@ class Command
/**
* Constructor.
*
- * @param Command $parent Parent command
+ * @param Command|null $parent Parent command
*/
public function __construct(Command $parent = null)
{
@@ -61,7 +61,7 @@ public function __toString()
/**
* Creates a new Command instance.
*
- * @param Command $parent Parent command
+ * @param Command|null $parent Parent command
*
* @return Command New Command instance
*/
@@ -232,7 +232,7 @@ public function setErrorHandler(\Closure $errorHandler)
}
/**
- * @return callable|null
+ * @return \Closure|null
*/
public function getErrorHandler()
{

0 comments on commit a413342

Please sign in to comment.