Skip to content

Commit

Permalink
Merge pull request propelorm#1913 from mringler/bugfix/fix_query_docb…
Browse files Browse the repository at this point in the history
…lock

docblock query class fixes
  • Loading branch information
dereuromark authored Nov 15, 2022
2 parents cb84d9c + 43665ea commit fa19b97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/Builder/Om/baseQueryClassHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
?>

/**
* Base class that represents a query for the <?= $tableName ?> table.
* Base class that represents a query for the `<?= $tableName ?>` table.
*
<?php if ($tableDesc): ?>
* <?= $tableDesc ?>
Expand All @@ -36,7 +36,7 @@
<?php endforeach;?>
*
<?php foreach($columns as $column):?>
* @method <?= $queryClass ?> groupBy<?= $column->getPhpName() ?>() Group by the <?= $column->getName() ?> column';
* @method <?= $queryClass ?> groupBy<?= $column->getPhpName() ?>() Group by the <?= $column->getName() ?> column
<?php endforeach;?>
*
* @method <?= $queryClass ?> leftJoin($relation) Adds a LEFT JOIN clause to the query
Expand All @@ -52,7 +52,7 @@
* @method <?= $queryClass ?> rightJoin<?= $relationName ?>($relationAlias = null) Adds a RIGHT JOIN clause to the query using the <?= $relationName ?> relation
* @method <?= $queryClass ?> innerJoin<?= $relationName ?>($relationAlias = null) Adds a INNER JOIN clause to the query using the <?= $relationName ?> relation
*
* @method <?= $queryClass ?> joinWith<?= $relationName ?>($joinType = Criteria::INNER_JOIN) Adds a join clause and with to the query using the ' . $relationName . " relation
* @method <?= $queryClass ?> joinWith<?= $relationName ?>($joinType = Criteria::INNER_JOIN) Adds a join clause and with to the query using the <?= $relationName ?> relation
*
* @method <?= $queryClass ?> leftJoinWith<?= $relationName ?>() Adds a LEFT JOIN clause and with to the query using the <?= $relationName ?> relation
* @method <?= $queryClass ?> rightJoinWith<?= $relationName ?>() Adds a RIGHT JOIN clause and with to the query using the <?= $relationName ?> relation
Expand All @@ -74,7 +74,7 @@
* @method <?= $modelClass ?> requireOne(?ConnectionInterface $con = null) Return the first <?= $modelClass ?> matching the query and throws <?= $entityNotFoundExceptionClass ?> when not found
*
<?php foreach($columns as $column):?>
* @method <?= $modelClass ?> requireOneBy<?= $column->getPhpName() ?>(<?= $column->getPhpType() ?> $<?= $column->getName() ?>) Return the first <?= $modelClass ?> filtered by the $name column and throws <?= $entityNotFoundExceptionClass ?> when not found
* @method <?= $modelClass ?> requireOneBy<?= $column->getPhpName() ?>(<?= $column->getPhpType() ?> $<?= $column->getName() ?>) Return the first <?= $modelClass ?> filtered by the <?= $column->getName() ?> column and throws <?= $entityNotFoundExceptionClass ?> when not found
<?php endforeach;?>
*
* @method <?= $modelClass ?>[]|Collection find(?ConnectionInterface $con = null) Return <?= $modelClass ?> objects based on current ModelCriteria
Expand Down

0 comments on commit fa19b97

Please sign in to comment.