Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Sep 8, 2022
1 parent 67c8f72 commit 0f59101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/Support/ClosureStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Laravel\SerializableClosure\Support;

#[\AllowDynamicProperties]
class ClosureStream
{
/**
Expand Down Expand Up @@ -37,13 +38,6 @@ class ClosureStream
*/
protected $pointer = 0;

/**
* The stream context.
*
* @var string
*/
public $context;

/**
* Opens file or URL.
*
Expand Down
2 changes: 1 addition & 1 deletion tests/SerializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function () {

test('mixed encodings', function () {
$a = iconv('utf-8', 'utf-16', 'Düsseldorf');
$b = utf8_decode('Düsseldorf');
$b = mb_convert_encoding('Düsseldorf', 'ISO-8859-1', 'UTF-8');

$closure = function () use ($a, $b) {
return [$a, $b];
Expand Down

0 comments on commit 0f59101

Please sign in to comment.