Skip to content

Commit 55d7c52

Browse files
committed
QA: CS/WS
1 parent 531640e commit 55d7c52

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

src/main/php/io/streams/Streams.class.php

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,14 @@
77
* Wraps I/O streams into PHP streams
88
*
99
* @test io.unittest.StreamWrappingTest
10-
* @see php://streams
10+
* @see https://www.php.net/manual/de/ref.stream.php
1111
*/
1212
abstract class Streams {
13-
protected static
14-
$streams = [];
15-
16-
public
17-
$context = null;
13+
protected static $streams= [];
14+
protected $length= 0;
15+
protected $id= null;
16+
public $context= null;
1817

19-
protected
20-
$length = 0,
21-
$id = null;
22-
2318
static function __static() {
2419
stream_wrapper_register('iostrr', get_class(new class() extends Streams {
2520
static function __static() { }
@@ -125,7 +120,7 @@ public static function writeableUri(OutputStream $s) {
125120
self::$streams[$hash]= $s;
126121
return 'iostrw://'.$hash;
127122
}
128-
123+
129124
/**
130125
* Read an IOElements' contents completely into a buffer in a single call.
131126
*

0 commit comments

Comments
 (0)