diff --git a/src/Types/AbstractList.php b/src/Types/AbstractList.php index 68c1f88c..cc403ecf 100644 --- a/src/Types/AbstractList.php +++ b/src/Types/AbstractList.php @@ -81,7 +81,7 @@ public function __toString(): string } if ($this->keyType) { - return 'array<' . $this->keyType . ',' . $this->valueType . '>'; + return 'array<' . $this->keyType . ', ' . $this->valueType . '>'; } if ($this->valueType instanceof Compound) { diff --git a/src/Types/Iterable_.php b/src/Types/Iterable_.php index f7d2264b..3ac6ef6c 100644 --- a/src/Types/Iterable_.php +++ b/src/Types/Iterable_.php @@ -30,7 +30,7 @@ public function __toString(): string } if ($this->keyType) { - return 'iterable<' . $this->keyType . ',' . $this->valueType . '>'; + return 'iterable<' . $this->keyType . ', ' . $this->valueType . '>'; } return 'iterable<' . $this->valueType . '>';