Skip to content

Commit b9bb758

Browse files
committed
basic idea functional, onto bugfixing...
1 parent 7c7324b commit b9bb758

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/AbstractModels.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ public function __construct(?array $children = [])
5555
}
5656

5757
/**
58-
* @param \DCarbone\PHPConsulAPI\AbstractModel|null $value
58+
* @param array|\DCarbone\PHPConsulAPI\AbstractModel|null $value
5959
*/
60-
public function append(?AbstractModel $value): void
60+
public function append($value): void
6161
{
6262
// validate provided value is either null or instance of allowed child class
6363
$value = $this->_validateValue($value);

tests/run_consul.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ done;
1313
# TODO: maybe some ltrimming?
1414
echo Starting Single consul instance with flags \""${FLAGS}"\" >> "${TMPDIR}"/consul.log
1515

16-
/usr/bin/env consul agent"${FLAGS}" >> "${TMPDIR}"/consul.log 2>&1 & echo $! > "${TMPDIR}"/consul.pid
16+
/usr/bin/env consul agent${FLAGS} >> "${TMPDIR}"/consul.log 2>&1 & echo $! > "${TMPDIR}"/consul.pid

0 commit comments

Comments
 (0)