Skip to content

Commit 84617e2

Browse files
committed
Improve coverage
1 parent 8201374 commit 84617e2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Image.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ public function __construct(string $filename)
8080
default => throw new RuntimeException('Image type is not acceptable: ' . $this->getType()),
8181
};
8282
if (!$instance instanceof GdImage) {
83-
throw new RuntimeException(
84-
"Image of type '{$this->getType()}' does not returned a GdImage instance"
85-
);
83+
throw new RuntimeException("Image of type '{$this->getType()}' does not returned a GdImage instance");
8684
}
8785
$this->setInstance($instance);
8886
}

0 commit comments

Comments
 (0)