Skip to content

Commit

Permalink
Merge pull request doctrine#450 from KonstantinKuklin/master
Browse files Browse the repository at this point in the history
fix some phpdoc
  • Loading branch information
guilhermeblanco committed Sep 21, 2012
2 parents a9517b1 + 34d8843 commit 831f0ac
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 26 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/AbstractQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ abstract class AbstractQuery
protected $parameters;

/**
* @var ResultSetMapping The user-specified ResultSetMapping to use.
* @var \Doctrine\ORM\Query\ResultSetMapping The user-specified ResultSetMapping to use.
*/
protected $_resultSetMapping;

Expand Down Expand Up @@ -293,7 +293,7 @@ private function convertObjectParameterToScalarValue($value)
/**
* Sets the ResultSetMapping that should be used for hydration.
*
* @param ResultSetMapping $rsm
* @param \Doctrine\ORM\Query\ResultSetMapping $rsm
* @return \Doctrine\ORM\AbstractQuery
*/
public function setResultSetMapping(Query\ResultSetMapping $rsm)
Expand Down
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ public function getNamingStrategy()
* Set quote strategy.
*
* @since 2.3
* @param Doctrine\ORM\Mapping\QuoteStrategy $quoteStrategy
* @param \Doctrine\ORM\Mapping\QuoteStrategy $quoteStrategy
*/
public function setQuoteStrategy(QuoteStrategy $quoteStrategy)
{
Expand All @@ -670,7 +670,7 @@ public function setQuoteStrategy(QuoteStrategy $quoteStrategy)
* Get quote strategy.
*
* @since 2.3
* @return Doctrine\ORM\Mapping\QuoteStrategy
* @return \Doctrine\ORM\Mapping\QuoteStrategy
*/
public function getQuoteStrategy()
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/EntityManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class EntityManager implements ObjectManager
/**
* Collection of query filters.
*
* @var Doctrine\ORM\Query\FilterCollection
* @var \Doctrine\ORM\Query\FilterCollection
*/
private $filterCollection;

Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/EntityRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class EntityRepository implements ObjectRepository, Selectable
* Initializes a new <tt>EntityRepository</tt>.
*
* @param EntityManager $em The EntityManager to use.
* @param ClassMetadata $classMetadata The class descriptor.
* @param Mapping\ClassMetadata $classMetadata The class descriptor.
*/
public function __construct($em, Mapping\ClassMetadata $class)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Event/OnFlushEventArgs.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
class OnFlushEventArgs extends \Doctrine\Common\EventArgs
{
/**
* @var Doctirne\ORM\EntityManager
* @var \Doctrine\ORM\EntityManager
*/
private $em;

Expand Down
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/Event/PreFlushEventArgs.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class PreFlushEventArgs extends \Doctrine\Common\EventArgs
{
/**
* @var EntityManager
* @var \Doctrine\ORM\EntityManager
*/
private $_em;

Expand All @@ -41,7 +41,7 @@ public function __construct($em)
}

/**
* @return EntityManager
* @return \Doctrine\ORM\EntityManager
*/
public function getEntityManager()
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Id/AbstractIdGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ abstract class AbstractIdGenerator
/**
* Generates an identifier for an entity.
*
* @param \Doctrine\ORM\Entity $entity
* @param \Doctrine\ORM\Mapping\Entity $entity
* @return mixed
*/
abstract public function generate(EntityManager $em, $entity);
Expand Down
10 changes: 5 additions & 5 deletions lib/Doctrine/ORM/Query/FilterCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ class FilterCollection
/**
* The used Configuration.
*
* @var Doctrine\ORM\Configuration
* @var \Doctrine\ORM\Configuration
*/
private $config;

/**
* The EntityManager that "owns" this FilterCollection instance.
*
* @var Doctrine\ORM\EntityManager
* @var \Doctrine\ORM\EntityManager
*/
private $em;

Expand Down Expand Up @@ -99,7 +99,7 @@ public function getEnabledFilters()
*
* @throws \InvalidArgumentException If the filter does not exist.
*
* @return SQLFilter The enabled filter.
* @return \Doctrine\ORM\Query\Filter\SQLFilter The enabled filter.
*/
public function enable($name)
{
Expand All @@ -125,7 +125,7 @@ public function enable($name)
*
* @param string $name Name of the filter.
*
* @return SQLFilter The disabled filter.
* @return \Doctrine\ORM\Query\Filter\SQLFilter The disabled filter.
*
* @throws \InvalidArgumentException If the filter does not exist.
*/
Expand All @@ -147,7 +147,7 @@ public function disable($name)
*
* @param string $name Name of the filter.
*
* @return SQLFilter The filter.
* @return \Doctrine\ORM\Query\Filter\SQLFilter The filter.
*
* @throws \InvalidArgumentException If the filter is not enabled.
*/
Expand Down
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/Query/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class Parser
/**
* The EntityManager.
*
* @var EnityManager
* @var \Doctrine\ORM\EntityManager
*/
private $_em;

Expand Down Expand Up @@ -209,7 +209,7 @@ public function getParserResult()
/**
* Gets the EntityManager used by the parser.
*
* @return EntityManager
* @return \Doctrine\ORM\EntityManager
*/
public function getEntityManager()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class EntityManagerHelper extends Helper
/**
* Constructor
*
* @param Connection $connection Doctrine Database Connection
* @param \Doctrine\DBAL\Connection $connection Doctrine Database Connection
*/
public function __construct(EntityManager $em)
{
Expand Down
1 change: 1 addition & 0 deletions lib/Doctrine/ORM/Tools/DebugUnitOfWorkListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\ORM\PersistentCollection;
use Doctrine\ORM\UnitOfWork;
use Doctrine\ORM\EntityManager;

/**
* Use this logger to dump the identity map during the onFlush event. This is useful for debugging
Expand Down
8 changes: 4 additions & 4 deletions lib/Doctrine/ORM/Tools/Pagination/CountOutputWalker.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
class CountOutputWalker extends SqlWalker
{
/**
* @var Doctrine\DBAL\Platforms\AbstractPlatform
* @var \Doctrine\DBAL\Platforms\AbstractPlatform
*/
private $platform;

/**
* @var Doctrine\ORM\Query\ResultSetMapping
* @var \Doctrine\ORM\Query\ResultSetMapping
*/
private $rsm;

Expand All @@ -49,8 +49,8 @@ class CountOutputWalker extends SqlWalker
* because Doctrine\ORM\Query\SqlWalker keeps everything private without
* accessors.
*
* @param Doctrine\ORM\Query $query
* @param Doctrine\ORM\Query\ParserResult $parserResult
* @param \Doctrine\ORM\Query $query
* @param \Doctrine\ORM\Query\ParserResult $parserResult
* @param array $queryComponents
*/
public function __construct($query, $parserResult, array $queryComponents)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
class LimitSubqueryOutputWalker extends SqlWalker
{
/**
* @var Doctrine\DBAL\Platforms\AbstractPlatform
* @var \Doctrine\DBAL\Platforms\AbstractPlatform
*/
private $platform;

/**
* @var Doctrine\ORM\Query\ResultSetMapping
* @var \Doctrine\ORM\Query\ResultSetMapping
*/
private $rsm;

Expand All @@ -59,8 +59,8 @@ class LimitSubqueryOutputWalker extends SqlWalker
* because Doctrine\ORM\Query\SqlWalker keeps everything private without
* accessors.
*
* @param Doctrine\ORM\Query $query
* @param Doctrine\ORM\Query\ParserResult $parserResult
* @param \Doctrine\ORM\Query $query
* @param \Doctrine\ORM\Query\ParserResult $parserResult
* @param array $queryComponents
*/
public function __construct($query, $parserResult, array $queryComponents)
Expand Down

0 comments on commit 831f0ac

Please sign in to comment.