File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments