From e4ed18aee4e4390b5a7de923e1e90b6c8cf892b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P=2E?= Date: Tue, 8 Oct 2024 17:20:21 +0200 Subject: [PATCH] Fix example in stupid README... --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 6bfdd58..f8358ca 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,10 @@ Retrieve the image blob for a given FITS file then do something with the bytes: declare(strict_types=1); use Dumbastro\FitsPhp\Fits; -use Dumbastro\FitsPhp\FitsHeader; use Dumbastro\FitsPhp\ImageBlob; $fits = new Fits('bubble_nebula.fit'); -$blob = new ImageBlob($header, $fits->imageBlob); +$blob = new ImageBlob($fits->header(), $fits->imageBlob); foreach ($blob->dataBytes() as $byte) { // Do something useful...