Skip to content

Commit d1f1d30

Browse files
Merge branch 'master' into phpunit
2 parents 9514d9b + 6d46492 commit d1f1d30

File tree

5 files changed

+49
-3
lines changed

5 files changed

+49
-3
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior.
15+
16+
**Expected behavior**
17+
A clear and concise description of what you expected to happen.
18+
19+
**Desktop (please complete the following information):**
20+
- OS: [e.g. Win 10 Pro]
21+
- PHP Version [e.g. 7.1.22]
22+
- Neo4j Version [e.g. 4.1.7]
23+
- Bolt Library Version [e.g. v1.2 or master]
24+
25+
**Additional context**
26+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context about the feature request here.

protocol/V1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class V1 extends AProtocol
1717

1818
public function init(...$args): bool
1919
{
20-
if (count($args) != 4) {
20+
if (count($args) < 4) {
2121
Bolt::error('Wrong arguments count');
2222
return false;
2323
}

protocol/V3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function init(...$args): bool
2222

2323
public function hello(...$args): bool
2424
{
25-
if (count($args) != 4) {
25+
if (count($args) < 4) {
2626
Bolt::error('Wrong arguments count');
2727
return false;
2828
}

protocol/V4_1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class V4_1 extends V4
1717

1818
public function hello(...$args): bool
1919
{
20-
if (count($args) != 5) {
20+
if (count($args) < 5) {
2121
Bolt::error('Wrong arguments count');
2222
return false;
2323
}

0 commit comments

Comments
 (0)