File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -121,10 +121,8 @@ public function encodeSegment(array $row): string
121
121
122
122
foreach ($ row as $ i => &$ iValue ) {
123
123
if (\is_array ($ iValue )) {
124
- if (
125
- \count ($ iValue ) === 1
126
- &&
127
- \is_array (\reset ($ iValue ))
124
+ if (\count ($ iValue ) === 1
125
+ && \is_array (\reset ($ iValue ))
128
126
) {
129
127
$ iValue = \array_pop ($ iValue );
130
128
}
@@ -155,11 +153,11 @@ public function encodeSegment(array $row): string
155
153
}
156
154
157
155
/**
158
- * @param string $str
156
+ * @param string|int $str
159
157
*
160
158
* @return string
161
159
*/
162
- private function escapeValue (string &$ str ): string
160
+ private function escapeValue (&$ str ): string
163
161
{
164
162
$ search = [
165
163
$ this ->symbRel ,
@@ -207,10 +205,8 @@ public function get(): string
207
205
*/
208
206
public function setUNA (string $ chars , bool $ user_call = true ): bool
209
207
{
210
- if (
211
- \is_string ($ chars )
212
- &&
213
- \strlen ($ chars ) == 6
208
+ if (\is_string ($ chars )
209
+ && \strlen ($ chars ) == 6
214
210
) {
215
211
$ this ->sepComp = $ chars [0 ];
216
212
$ this ->sepData = $ chars [1 ];
You can’t perform that action at this time.
0 commit comments