From 424714bbbab9dd685548da5c7a70640a0f09f88e Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 26 Jun 2026 13:53:05 +0200 Subject: [PATCH] Rename Resource::writeable to writable --- src/Resource.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Resource.php b/src/Resource.php index 6b1f468..e437b5a 100644 --- a/src/Resource.php +++ b/src/Resource.php @@ -25,7 +25,7 @@ abstract class Resource implements StreamInterface protected mixed $resource, protected bool $seekable, protected bool $readable, - protected bool $writeable) + protected bool $writable) { } @@ -135,7 +135,7 @@ abstract class Resource implements StreamInterface */ public function isWritable(): bool { - return $this->writeable; + return $this->writable; } /** @@ -147,7 +147,7 @@ abstract class Resource implements StreamInterface */ public function write(string $string): int { - if (!$this->writeable) { + if (!$this->writable) { throw new IOException("Stream is not writeable"); }