From 4fea008232274c98b42fc6093d3343e907642c1a Mon Sep 17 00:00:00 2001 From: Lars Moelleken Date: Sun, 10 Dec 2017 01:51:18 +0000 Subject: [PATCH] Apply fixes from StyleCI --- lib/classes/Swift/InputByteStream.php | 4 ++-- tests/unit/Swift/Mime/Headers/DateHeaderTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/classes/Swift/InputByteStream.php b/lib/classes/Swift/InputByteStream.php index 60ddcc8f5..1f3f5b61b 100644 --- a/lib/classes/Swift/InputByteStream.php +++ b/lib/classes/Swift/InputByteStream.php @@ -52,7 +52,7 @@ public function commit(); * * @param Swift_InputByteStream $is */ - public function bind(Swift_InputByteStream $is); + public function bind(self $is); /** * Remove an already bound stream. @@ -63,7 +63,7 @@ public function bind(Swift_InputByteStream $is); * * @param Swift_InputByteStream $is */ - public function unbind(Swift_InputByteStream $is); + public function unbind(self $is); /** * Flush the contents of the stream (empty it) and set the internal pointer diff --git a/tests/unit/Swift/Mime/Headers/DateHeaderTest.php b/tests/unit/Swift/Mime/Headers/DateHeaderTest.php index 9d35624bc..0005638fb 100644 --- a/tests/unit/Swift/Mime/Headers/DateHeaderTest.php +++ b/tests/unit/Swift/Mime/Headers/DateHeaderTest.php @@ -87,4 +87,4 @@ private function getHeader($name) { return new Swift_Mime_Headers_DateHeader($name); } -} \ No newline at end of file +}