diff --git a/src/Block.php b/src/Block.php index 55b855c..396d0ea 100644 --- a/src/Block.php +++ b/src/Block.php @@ -312,6 +312,10 @@ public function orderBy(string|int $field, string $order = 'desc'): self return self::make($array); } + /** + * Returns the native array + * @return array + */ public function toArray(): array { return $this->data; diff --git a/tests/Unit/BlockGetTest.php b/tests/Unit/BlockGetTest.php index a6f74a9..598fb98 100644 --- a/tests/Unit/BlockGetTest.php +++ b/tests/Unit/BlockGetTest.php @@ -100,7 +100,7 @@ function () use ($fruitsArray) { - } + }, );