Skip to content

Commit

Permalink
Improve phpdoc from configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Jun 9, 2022
1 parent 2bc0be6 commit eff2cb5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/Doctrine/ORM/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public function getAutoGenerateProxyClasses()
* Sets the strategy for automatically generating proxy classes.
*
* @param bool|int $autoGenerate Possible values are constants of Doctrine\Common\Proxy\AbstractProxyFactory.
* @psalm-param bool|AutogenerateMode $autoGenerate
* True is converted to AUTOGENERATE_ALWAYS, false to AUTOGENERATE_NEVER.
*
* @return void
Expand Down Expand Up @@ -646,8 +647,9 @@ public function setCustomStringFunctions(array $functions)
*
* DQL function names are case-insensitive.
*
* @param string $name Function name.
* @param string|callable $className Class name or a callable that returns the function.
* @param string $name Function name.
* @param class-string|callable $className Class name or a callable that returns the function.
* @psalm-param class-string<FunctionNode>|callable(string):FunctionNode $className
*
* @return void
*/
Expand Down Expand Up @@ -701,6 +703,7 @@ public function setCustomNumericFunctions(array $functions)
* @param string $name Function name.
* @param string|callable $className Class name or a callable that returns the function.
* @psalm-param class-string|callable $className
* @psalm-param class-string<FunctionNode>|callable(string):FunctionNode $className
*
* @return void
*/
Expand Down

0 comments on commit eff2cb5

Please sign in to comment.