You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/Propel/Generator/Builder/Om/QueryBuilder.php
+2-2
Original file line number
Diff line number
Diff line change
@@ -183,14 +183,14 @@ protected function addClassOpen(&$script)
183
183
184
184
// override the signature of ModelCriteria::findOne() to specify the class of the returned object, for IDE completion
185
185
$script .= "
186
-
* @method $modelClass findOne(ConnectionInterface \$con = null) Return the first $modelClass matching the query
186
+
* @method $modelClass|null findOne(ConnectionInterface \$con = null) Return the first $modelClass matching the query
187
187
* @method $modelClass findOneOrCreate(ConnectionInterface \$con = null) Return the first $modelClass matching the query, or a new $modelClass object populated from the query conditions when no match is found
0 commit comments