Skip to content

Commit

Permalink
Fix docblocks and CS/indention
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Nov 28, 2011
1 parent 296ac0f commit fdaf781
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
Expand Up @@ -59,14 +59,14 @@ abstract class AnnotationDriver implements MappingDriver
/**
* Cache for AnnotationDriver#getAllClassNames()
*
* @param array
* @var array
*/
protected $classNames;

/**
* Name of the entity annotations as keys
*
* @var
* @var array
*/
protected $entityAnnotationClasses = array();

Expand Down Expand Up @@ -139,8 +139,9 @@ public function setFileExtension($fileExtension)
/**
* Whether the class with the specified name is transient. Only non-transient
* classes, that is entities and mapped superclasses, should have their metadata loaded.
* A class is non-transient if it is annotated with either @Entity or
* @MappedSuperclass in the class doc block.
*
* A class is non-transient if it is annotated with an annotation
* from the {@see AnnotationDriver::entityAnnotationClasses}.
*
* @param string $className
* @return boolean
Expand Down
Expand Up @@ -91,8 +91,8 @@ public function getAllClassNames()
}

$iterator = new \RecursiveIteratorIterator(
new \RecursiveDirectoryIterator($path),
\RecursiveIteratorIterator::LEAVES_ONLY
new \RecursiveDirectoryIterator($path),
\RecursiveIteratorIterator::LEAVES_ONLY
);

foreach ($iterator as $file) {
Expand Down
Expand Up @@ -24,7 +24,7 @@
/**
* The Symfony File Locator makes a simplifying assumptions compared
* to the DefaultFileLocator. By assuming paths only contain entities of a certain
* namespace the mapping files consinst of the short classname only.
* namespace the mapping files consists of the short classname only.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Benjamin Eberlei <kontakt@beberlei.de>
Expand Down

0 comments on commit fdaf781

Please sign in to comment.