mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 06:28:40 +00:00
Potential type validation/parameter binding
This commit is contained in:
parent
956aebb640
commit
009d07ec76
|
|
@ -724,7 +724,7 @@ class Builder extends BuilderAbstract
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function value($value) : Builder
|
public function value($value, \string $type = 'string') : Builder
|
||||||
{
|
{
|
||||||
end($this->values);
|
end($this->values);
|
||||||
$key = key($this->values);
|
$key = key($this->values);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user