aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 15:19:40 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 15:19:40 +0100
commitf7b6301e3840298fab053b42f556f1f7e91ac0b5 (patch)
treea48707722a37c20a13ca616cabfb346863f06038
parentb7476f1357c2ae720cff5a52546147a338de1e96 (diff)
downloadProtocol-f7b6301e3840298fab053b42f556f1f7e91ac0b5.zip
Protocol-f7b6301e3840298fab053b42f556f1f7e91ac0b5.tar.gz
Protocol-f7b6301e3840298fab053b42f556f1f7e91ac0b5.tar.bz2
chore(php) Fix types.
-rw-r--r--Source/Node/Node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Node/Node.php b/Source/Node/Node.php
index e265455..4be0d0f 100644
--- a/Source/Node/Node.php
+++ b/Source/Node/Node.php
@@ -207,7 +207,7 @@ class Node implements \ArrayAccess, \IteratorAggregate
/**
* Resolve choices, i.e. a reach value has a “;”.
*/
- protected function _resolveChoice(string $reach, array &$accumulator)
+ protected function _resolveChoice(?string $reach, ?array &$accumulator)
{
if (empty($accumulator)) {
$accumulator = explode(RS, $reach);