Skip to content

Commit ab91655

Browse files
committed
Added more parameter type declarations.
1 parent 56c629e commit ab91655

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

AbstractStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract class AbstractStream
3030

3131
private $debug = '';
3232

33-
public function write(string $bytes, $debug = true): void
33+
public function write(string $bytes, bool $debug = true): void
3434
{
3535
if ($debug) {
3636
foreach (explode("\n", trim($bytes)) as $line) {

Smtp/Stream/AbstractStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract class AbstractStream
3030

3131
private $debug = '';
3232

33-
public function write(string $bytes, $debug = true): void
33+
public function write(string $bytes, bool $debug = true): void
3434
{
3535
if ($debug) {
3636
foreach (explode("\n", trim($bytes)) as $line) {

Stream/AbstractStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract class AbstractStream
3030

3131
private $debug = '';
3232

33-
public function write(string $bytes, $debug = true): void
33+
public function write(string $bytes, bool $debug = true): void
3434
{
3535
if ($debug) {
3636
foreach (explode("\n", trim($bytes)) as $line) {

Transport/Smtp/Stream/AbstractStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract class AbstractStream
3030

3131
private $debug = '';
3232

33-
public function write(string $bytes, $debug = true): void
33+
public function write(string $bytes, bool $debug = true): void
3434
{
3535
if ($debug) {
3636
foreach (explode("\n", trim($bytes)) as $line) {

0 commit comments

Comments
 (0)