File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function __construct($value)
58
58
}
59
59
60
60
/**
61
- * Sets the JSON encoding options
61
+ * Sets the JSON encoding options.
62
62
* @param int $options The JSON encoding options that are used by json_encode
63
63
* @return $this Returns self for call chaining
64
64
*/
@@ -130,7 +130,7 @@ public function valid()
130
130
131
131
/**
132
132
* Returns the current value or state from the encoder.
133
- * @return mixed The current value or state from the encoder.
133
+ * @return mixed The current value or state from the encoder
134
134
*/
135
135
abstract public function current ();
136
136
@@ -178,7 +178,7 @@ public function next()
178
178
}
179
179
180
180
/**
181
- * Handles the next value from the generator to be encoded as JSON
181
+ * Handles the next value from the generator to be encoded as JSON.
182
182
* @param \Generator $generator The generator used to generate the next value
183
183
* @param bool $isObject True if the generator is being handled as an object, false if not
184
184
*/
Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ public function getMetadata($key = null)
323
323
'wrapper_type ' => 'OBJECT ' ,
324
324
'wrapper_data ' => [
325
325
'step ' => $ this ->encoder ->key (),
326
- 'errors ' => $ this ->encoder ->getErrors ()
326
+ 'errors ' => $ this ->encoder ->getErrors (),
327
327
],
328
328
'mode ' => 'r ' ,
329
329
'seekable ' => true ,
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public function current()
78
78
}
79
79
80
80
/**
81
- * Echoes to given string or passes it to the stream callback
81
+ * Echoes to given string or passes it to the stream callback.
82
82
* @param string $string The string to output
83
83
* @param int $token The type of the string
84
84
*/
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ public function testMetaData()
103
103
'wrapper_data ' ,
104
104
'mode ' ,
105
105
'seekable ' ,
106
- 'uri '
106
+ 'uri ' ,
107
107
], array_keys ($ stream ->getMetadata ()));
108
108
}
109
109
You can’t perform that action at this time.
0 commit comments