Skip to content

Commit c64c0d6

Browse files
timoschwarzermarcj
authored andcommitted
Format parameter can be null (#1462)
1 parent 3dde104 commit c64c0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Propel/Generator/Builder/Om/ObjectBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ public function addTemporalAccessorComment(&$script, Column $column)
808808
* Get the [optionally formatted] temporal [$clo] column value.
809809
* {$column->getDescription()}
810810
*
811-
* @param string \$format The date/time format string (either date()-style or strftime()-style).
811+
* @param string|null \$format The date/time format string (either date()-style or strftime()-style).
812812
* If format is NULL, then the raw $dateTimeClass object will be returned.
813813
*
814814
* @return string|$dateTimeClass Formatted date/time value as string or $dateTimeClass object (if format is NULL), NULL if column is NULL" .($handleMysqlDate ? ', and 0 if column value is ' . $mysqlInvalidDateString : '')."

0 commit comments

Comments
 (0)