@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * Sets the indent for the JSON output. |
80 | - * @param string|int $indent A string to use as indent or the number of spaces |
|
80 | + * @param integer $indent A string to use as indent or the number of spaces |
|
81 | 81 | * @return $this Returns self for call chaining |
82 | 82 | * @throws \RuntimeException If changing indent during encoding operation |
83 | 83 | */ |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | /** |
123 | 123 | * Returns the current number of step in the encoder. |
124 | - * @return mixed The current step number as integer or null if the current state is not valid |
|
124 | + * @return integer|null The current step number as integer or null if the current state is not valid |
|
125 | 125 | */ |
126 | 126 | public function key() |
127 | 127 | { |