Permalink
Browse files

More reviews.

  • Loading branch information...
1 parent 72a8365 commit 8a78431c447c3523e7e3d1ebfac279c6c12fc5e3 @rdohms rdohms committed Apr 18, 2012
@@ -175,7 +175,7 @@ public function getClassAnnotation(ReflectionClass $class, $annotationName)
*
* @param ReflectionProperty $property The ReflectionProperty of the property
* from which the annotations should be read.
- * @return Annotation[] An array of Annotations.
+ * @return array An array of Annotations.
*/
public function getPropertyAnnotations(ReflectionProperty $property)
{
@@ -214,7 +214,7 @@ public function getPropertyAnnotation(ReflectionProperty $property, $annotationN
* @param \ReflectionMethod $method The ReflectionMethod of the method from which
* the annotations should be read.
*
- * @return Annotation[] An array of Annotations.
+ * @return array An array of Annotations.
*/
public function getMethodAnnotations(ReflectionMethod $method)
{
@@ -44,7 +44,7 @@ class FileCacheReader implements Reader
private $debug;
/**
- * @var Annotation[]
+ * @var array
*/
private $loadedAnnotations = array();
@@ -75,7 +75,7 @@ public function __construct(Reader $reader, $cacheDir, $debug = false)
* Retrieve annotations for class
*
* @param \ReflectionClass $class
- * @return Annotation[]
+ * @return array
*/
public function getClassAnnotations(\ReflectionClass $class)
{
@@ -109,7 +109,7 @@ public function getClassAnnotations(\ReflectionClass $class)
* Get annotations for property
*
* @param \ReflectionProperty $property
- * @return Annotation[]
+ * @return array
*/
public function getPropertyAnnotations(\ReflectionProperty $property)
{
@@ -144,7 +144,7 @@ public function getPropertyAnnotations(\ReflectionProperty $property)
* Retrieve annotations for method
*
* @param \ReflectionMethod $method
- * @return Annotation[]
+ * @return array
*/
public function getMethodAnnotations(\ReflectionMethod $method)
{
@@ -45,7 +45,7 @@
private $connections;
/**
- * @var ObjectManager[]
+ * @var array
*/
private $managers;
@@ -64,7 +64,7 @@ public function getEntityChangeSet()
/**
* Check if field has a changeset.
*
- * @param $field
+ * @param string $field
*
* @return boolean
*/
@@ -31,7 +31,7 @@ class MappingException extends \Exception
* @param string $className
* @param array $namespaces
*
- * @return \Doctrine\Common\Persistence\Mapping\MappingException
+ * @return MappingException
*/
public static function classNotFoundInNamespaces($className, $namespaces)
{
@@ -69,8 +69,8 @@ public static function dump($var, $maxDepth = 2, $stripTags = true)
/**
* Export
*
- * @param $var
- * @param $maxDepth
+ * @param mixed $var
+ * @param int $maxDepth
* @return mixed
*/
public static function export($var, $maxDepth)
@@ -125,7 +125,7 @@ public static function export($var, $maxDepth)
/**
* Convert to string
*
- * @param $obj
+ * @param object $obj
* @return string
*/
public static function toString($obj)

0 comments on commit 8a78431

Please sign in to comment.