Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Apr 16, 2023
1 parent fed66ea commit 74dcff1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/param-modifiers.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ class SqlProcessorFactory implements ISqlProcessorFactory
{
$processor = new SqlProcessor($driver);
$processor->setCustomModifier(
'mybool',
function (SqlProcessor $processor, $value) {
return $processor->processModifier('s', $bool ? 'yes' : 'no');
}
'mybool',
function (SqlProcessor $processor, $value) {
return $processor->processModifier('s', $bool ? 'yes' : 'no');
}
);
return $processor;
}
Expand Down

0 comments on commit 74dcff1

Please sign in to comment.