@@ -51,8 +51,7 @@ discard block |
||
51 | 51 | $resourceId = (int) $this->stream; |
52 | 52 | self::$guardClonedStream[$resourceId] = |
53 | 53 | isset(self::$guardClonedStream[$resourceId]) ? |
54 | - self::$guardClonedStream[$resourceId] + 1 : |
|
55 | - 0; |
|
54 | + self::$guardClonedStream[$resourceId] + 1 : 0; |
|
56 | 55 | } |
57 | 56 | |
58 | 57 | /** |
@@ -102,8 +101,7 @@ discard block |
||
102 | 101 | $resourceId = (int) $this->stream; |
103 | 102 | self::$guardClonedStream[$resourceId] = |
104 | 103 | isset(self::$guardClonedStream[$resourceId]) ? |
105 | - self::$guardClonedStream[$resourceId] + 1 : |
|
106 | - 1; |
|
104 | + self::$guardClonedStream[$resourceId] + 1 : 1; |
|
107 | 105 | } |
108 | 106 | |
109 | 107 | /** |