Skip to content

Commit 38b2d17

Browse files
author
Vasily Sokolov
committed
fix: add reset parameters
1 parent 8183581 commit 38b2d17

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

SimplePDOQueryBuilder.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ public function getAlias()
196196
return $this->alias;
197197
}
198198

199+
public function resetParameters(): void
200+
{
201+
$this->parameters = [];
202+
}
203+
199204
/**
200205
* @param $alias
201206
* @return $this

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Simple PDO Query Builder",
55
"keywords": ["pdo", "query builder"],
66
"license": "MIT",
7-
"version": "1.4",
7+
"version": "1.5",
88
"authors": [
99
{
1010
"name": "Vasily Sokolov",
@@ -18,7 +18,7 @@
1818
},
1919
"target-dir": "Megawilddaddy/SimplePDOQueryBuilder",
2020
"require": {
21-
"php": ">=5.4",
21+
"php": ">=7.1",
2222
"ext-pdo": "*"
2323
},
2424
"minimum-stability": "stable"

0 commit comments

Comments
 (0)