diff --git a/src/Tempest/Support/src/ArrayHelper.php b/src/Tempest/Support/src/ArrayHelper.php index 855764436..8b0f44b3d 100644 --- a/src/Tempest/Support/src/ArrayHelper.php +++ b/src/Tempest/Support/src/ArrayHelper.php @@ -39,6 +39,8 @@ public function __construct( $this->array = $input; } elseif ($input instanceof self) { $this->array = $input->array; + } elseif ($input === null) { + $this->array = []; } else { $this->array = [$input]; }