Skip to content

Commit 0f59101

Browse files
committed
wip
1 parent 67c8f72 commit 0f59101

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/Support/ClosureStream.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Laravel\SerializableClosure\Support;
44

5+
#[\AllowDynamicProperties]
56
class ClosureStream
67
{
78
/**
@@ -37,13 +38,6 @@ class ClosureStream
3738
*/
3839
protected $pointer = 0;
3940

40-
/**
41-
* The stream context.
42-
*
43-
* @var string
44-
*/
45-
public $context;
46-
4741
/**
4842
* Opens file or URL.
4943
*

tests/SerializerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ function () {
317317

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

322322
$closure = function () use ($a, $b) {
323323
return [$a, $b];

0 commit comments

Comments
 (0)