From 2e8197e947bcadd42794a7aa1aa0b1c22ef5f688 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 26 Jun 2026 13:42:46 +0200 Subject: [PATCH] Remove isWriteable alias --- src/Buffer.php | 8 -------- src/Resource.php | 8 -------- 2 files changed, 16 deletions(-) diff --git a/src/Buffer.php b/src/Buffer.php index f97505c..abdfd15 100644 --- a/src/Buffer.php +++ b/src/Buffer.php @@ -181,14 +181,6 @@ class Buffer implements StreamInterface return true; } - /** - * Alias for {@see isWritable()}. - */ - public function isWriteable(): bool - { - return $this->isWritable(); - } - /** * Writes $string at the current cursor position, overwriting existing bytes. * diff --git a/src/Resource.php b/src/Resource.php index 0f49c76..6b1f468 100644 --- a/src/Resource.php +++ b/src/Resource.php @@ -138,14 +138,6 @@ abstract class Resource implements StreamInterface return $this->writeable; } - /** - * Alias for {@see isWritable()}. - */ - public function isWriteable(): bool - { - return $this->isWritable(); - } - /** * Writes $string at the current cursor position and returns the bytes written. *