@@ 166-171 (lines=6) @@ | ||
163 | 1478418106 |
|
164 | ); |
|
165 | } |
|
166 | if (!is_int($depth)) { |
|
167 | throw new InvalidArgumentException( |
|
168 | sprintf("Integer expected for argument '%s'. Got '%s'.", 'depth', gettype($depth)), |
|
169 | 1478418107 |
|
170 | ); |
|
171 | } |
|
172 | if (!is_int($options)) { |
|
173 | throw new InvalidArgumentException( |
|
174 | sprintf("Integer expected for argument '%s'. Got '%s'.", 'options', gettype($options)), |
@@ 87-92 (lines=6) @@ | ||
84 | 1478418109 |
|
85 | ); |
|
86 | } |
|
87 | if (!is_int($depth)) { |
|
88 | throw new InvalidArgumentException( |
|
89 | sprintf("Integer expected for argument '%s'. Got '%s'.", 'depth', gettype($depth)), |
|
90 | 1478418110 |
|
91 | ); |
|
92 | } |
|
93 | ||
94 | $toEncoding = $this->getEncoding(); |
|
95 |