Skip to content

Commit

Permalink
Using full namespace in doc (func builder)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladislav Gallay committed Jul 2, 2015
1 parent 6718490 commit f3046fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Database/FunctionsBuilder.php
Expand Up @@ -160,7 +160,7 @@ public function dateDiff($args, $types = [])
* @param string $part Part of the date to return.
* @param string $expression Expression to obtain the date part from.
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function datePart($part, $expression, $types = [])
{
Expand All @@ -173,7 +173,7 @@ public function datePart($part, $expression, $types = [])
* @param string $part Part of the date to return.
* @param string $expression Expression to obtain the date part from.
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function extract($part, $expression, $types = [])
{
Expand All @@ -189,7 +189,7 @@ public function extract($part, $expression, $types = [])
* @param string $value Value to be added. Use negative to substract.
* @param string $unit Unit of the value e.g. hour or day.
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function dateAdd($expression, $value, $unit, $types = [])
{
Expand All @@ -208,7 +208,7 @@ public function dateAdd($expression, $value, $unit, $types = [])
*
* @param mixed $expression the function argument
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function dayOfWeek($expression, $types = [])
{
Expand All @@ -221,7 +221,7 @@ public function dayOfWeek($expression, $types = [])
*
* @param mixed $expression the function argument
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function weekday($expression, $types = [])
{
Expand All @@ -234,7 +234,7 @@ public function weekday($expression, $types = [])
* make it generate only the date or only the time.
*
* @param string $type (datetime|date|time)
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function now($type = 'datetime')
{
Expand Down

0 comments on commit f3046fc

Please sign in to comment.